if anyone still has the surge after inspecting the wire on the bottom of the valve body and a new tps or two then you should do the spark plug wire re-route procedure. mine used to surge about 300 rpm and after the rebuild it still surged about 25-50 rpm. i did the re-route and my surge went away.
here's the tsb.
http://dodgeram.info/tsb/1998/18-48-98/18-48-98-v8.htm