Assuming you're using a 2wd ecu:
The TPS should NOT be the other way around. On a 2wd 5 volt is closed.
If you're using a PF09 TPS from a 4wd you will not get exactly 5 volt at throttle closed.
The throttle signal is not causing your running problems.