I have a 99. It is indeed a potentiometer.
I don't remember the reset routine but if you do a search on the site turbodieselregister.com, i bet you will find the detail there.
The foot pedal does pull a cable, but if you take the cover off on the engine where the cable terminates, you should likely see the potentimeter that tells the computer how much go juice you want.
If the cable is intact then it may very well be the pot has gone by. The computer will not like a reading out of range and should throw a CEL and even put the system into the idle only mode.
Any way, I am running off my memory and that site has tons of data. Well worth the investment if you have to pay to join it. I have been a member since I bought my truck new in 99. Yes there are other sites but I have not followed them.
Good luck.
By the way, if the truck is free of rust I might take it off his hands even with the throttle problem. Mine is almost at the point where I can't pass inspection. Darn Vermont Salt!!