Yep!!!! sure will cause that problem. My '93 has 302,000 on it and have experienced that exact condition several times.
One word of advice: price the TPS from Cummins as well as the stealership. The one for my '93 is ALOT cheaper through Cummins and they seem to last longer as well.
Hope this helps. I bought my truck brand new so I have found alot of the things like that that seem to be a maintiance item. BTM.