If your idle is fine then there is vittually no possibility that the hesitation is ignition or vacuum leak related.
You can test if the hesitation is truly rpm related by driving the truck in 3rd gear. The transmision is degigned to freely shift back and forth between 3rd and 4th without even pushing in the button on the selector.
The O2 sensors are being ignored under accelleration, and the ECU determines fueling from the chip installed in the ECU. If you do not replace the O2 sensors at 100k, then there is uncertanty as to their performance when you have a problem. There are generic(has to be the same sensor) replacements which are easy to splice to the RRC connection, if you want to save $100
The VSS has nothing to do with this.
If this occurs when the engine has not fully warmed up, then there is a chance that the coolant temp sensor is a factor in the problem. The sensor shown in above photo is for the temp gage on the dash and has nothing to do with the hesitation. There is a 3rd temp sensor on the engine intake manifold, which is the one which modifies the fueling of the engine. This temp sensor looks just like the fuel temp sensor on the fuel rail. You should replace it at 100k also, and is cheap and easy to do.
If the engine is hesitating under accelleration then the TPS is definatly suspect. You may be able to clear the problem up by moving the trottle thru it's full range several times with the engine off. Otherwise the best way to test a TPS is by substitution.
There is one vacuum related device connected to the intake which is supposed to turn on at ~1800rpm. The ECU purges the gas fume canister when the engine reaches 1800. There is a wheel barrel load of hoses and connections in the gas vapor purge system. To make matters worse they changed it every year. Best thing to do is put a dowel pin in the hose that is connected to the intake manifold, cuttng off all that plumbing in the purge system from the engine. That may solve the problem or at leat eliminate the purge system as the problem.
The alternator is the only other thing that I can think of which is rpm related. If the alternator is flaking out around 2000rpm then there definatly coud be a problem with the fueling system. The ECU monitors the voltage and makes the needed adjustments. However if the voltage is out of range then the system could go a little wacky because all of the inputs/outputs could become inacurrate with the voltage swings. If it is the original alt, then you may want to replace with new now, rather than on the side of the road somewhere. The new ones are better than the original Lucas alt anyway.
Good luck
Randall