My 2000 2500 was doing that, and I would reset the switch/senser every 1000 to 5000 Miles.
with 400000. miles on the alternator with 1 rebuild at about 200000 miles I replaced it with a new alternator and have not had to adjust the TPS in over 25000 miles.
The alternator was still working OK but i did not want it to go out while I was on the road , so i got 2 birds with 1 stone.