Greetings and welcome to JA! I will do my very best to assist you with your problem. I have vast knowledge with your vehicle and will reply promptly!
Did the check engine light come on when it was running rough? Also, how many miles on the truck?
I am torn between the distributor dying on it or the fuel pump getting hot and stopping on it.
Plus, these had a problem with the fuel sending unit corroding and losing connection. You are going to either have to get a fuel pressure gauge on it and watch to see if it drops off when it begins to run rough, or possible a code reader and when the light comes on check to see if there is a cam sensor code.
Also, under the passenger rear seat is the access for the fuel pump.You can take a look at the connector on top of the tank and see if it looks like this picture.If it does, then it would be safe to assume the sending unit is the issue. Here is the pic.
Ah ha! Ok, put a new distributor in it. The cam sensor is part of the distributor and the whole thing has to be replaced.
Don't worry about the knock sensor, it is not a factor and really doesn't even turn the light on. It is buried under the lower intake on the block.
You put a distributor in it and it will resolve the problem. It is getting hot and failing on you.
is there a tutorial i can look at on the internet that you know of?