Well the code may have went away if you disconnected the battery. TPS sensor being out of range could possibly cause starting issues because the ECU doesn't see the right voltage. Usually testing the TPS is fairly easy and can be checked with a simple multimeter. You just need to know how to perform the test.
That will tell you if the part is faulty, and should tell you how to properly adjust the TPS into spec if it needs adjusted or replacement
EDIT:
http://troubleshootmyvehicle.com/chr...he-tp-sensor-1
That link should provide the information you need to perform said tests.