Another vote for clogged cats.
You can just disconnect the O2 sensor before the cat and zip tie it out of the way. This will allow the exhaust gases to easily escape, take it for a test drive and see if your power is restored. If it is, buy a new cat, if it isn't, your cat is not clogged.
Don't drive long like this just do the test and see if the cat is the problem. Then screw back in the 02 sensor.
This is how I diagnosed my clogged cat with my grand prix and it worked perfectly. Once I put the new cat in, it was like driving a new car. They don't clog over night so if your truck has been sluggish for awhile now, it could very well be the cat.
Good luck