Welcome to JustAnswer.com! My name is DriveFast71(Ron) and I will do my best to answer all of your questions completely and accurately.
Did you recieve a "p-code" that pointed you to a faulty TPS?
Ok. First, a little background: The 5.7L engine does NOT have a TPS, per say. The job of the TPS is done internal of the electronic throttle body. (quote from the Dodge repair manual: "The 5.7L V-8 engine does not use a seperate TPS on the throttle body"). Auto Zone employees need ZERO automotive experience to be employed there. They'll sell you stuff that doesn't even exist on your vehicle to make the sale. The sensor "located under the battery" is the Battery Temp Sensor, and is not a suspect in the problem you currently have.
Now... the 2 codes you have above are directly related, and there are a lot of things that need to be tested and inspected to find the actual cause. If the tests come down to a faulty TPS, the entire throttle body will need to be replaced as a unit. If the throttle body is "clean" and the butterfly is not sticking, this still could be an interal throttle body problem (see test step#7). If you have access to a scan-tool, it's probably a good idea to run the tests below, and find the actual cause.
HAHAHA! I doubt it's a black hole!!
You may want to look into the MAP sensor as a cause. Could be a variation in altitude that is causing the problem (the MAP sensor is Manifold Absolute Pressure and is effected by altitude!). If that is not the problem, then, without running tests, to take a guess- internal throttle body problem.
You're welcome! Glad I could help! Have a great day!
HAHAHAHAHA! If we only knew then what we know now!!
Have a great day!
You should be good to go from here. If you ever need me, you can request me from the main page.