it`s a stock rebuilt unit. the only difference is that the new one has only three vacuum ports on the front of it and the old one had four. i just disconnected the vacuum line that went to the top of the emissions tubes on the passenger side. i took the belt off long ago so i don`t think thats the problem.
the strange thing is that after i put the old one back on it idles very high and when it`s cold the engine will stumble and die, but start right up again. i checked for vacuum leaks and didn`t find any. and the really strange thing is that when i put the truck in gear (TH400) the engine will rev up to like 1400 rpm

if i put it in neutral it goes back down to around 900 rpm, even i i move the gear selector a fraction of an inch the idle goes up. very strange!
when i put the new one on and it was running poorly i swapped the new TPS with the old one to see if that was the problem but when i unbolted the old one i could swear that the little tab was on the wrong side of the spring rendering it useless but i`m not 100% sure. the truck ran great before all of this, is it possible that it could run great without a TPS? and now that it`s on correctly it`s screwing it up?