P0732 and P0733 are transmission mechanical fault and nothing to do with the TPS.
P0171 ia a lean running condition and can be cause by vacuum leakages. Check the air hose between air cleaner and throttle body for leaks. Any vacuum leaks here would affect the MAF performance and the bogging down. Maybe is no good because you need to test to verify. If you have a scan tool, you can monitor the TPS operations and find out if it is out of specs.
Please consider a to help us answer more questions.
Friday, November 2nd, 2012 AT 3:51 PM