What codes are set in the ECM?
Replacing the temp gage sensor is just for the temp gage - not the ECM, so that would never have been a problem for the engine performance.
I don't understand what a "throttle body sensor" is - do you mean throttle position sensor? If so, and I had to take a WAG...