temp. gauge going crazy, please help.

My car is a prime example of what happens when a previous owner doesn't maintain a vehicle and it gets some miles on it. I think that either my coolant temperature sensor has gone wack or my thermostat is open or something. I'm to go to NAPA to pick up some antifreeze and a thermostat and see what happens. But what happened is, is my temperature gauge sky rocketed up wards (thank god I was only a 1/4 mile away from the house). So I drive it back and park it and there it sits. What's going on is when I'm idling in park it is fine but when I put it in drive or reverse and give it the slightest amount of throttle the temp. gauge skyrockets past the red. I think the thermostat is stuck, coolant temperature sensor went bad or my water pump went bad (even though it's not spraying coolant or making noise). Someone help me out here, thanks.

Something else I just noticed...
I just pulled the stang into the garage and shut it off, well I put the key on ACC (turned all the way back in the ignition) rolled up my windows and the needle moved up and up and up as I held the buttons down, If I let go of both of the buttons the needle stopped moving up, wtf is goin on here. BTW another thing, I just regrouned my battery to one of the AC bolts (one that mounts the AC bracket to the block), think that could be the problem?
 
As said, dont forget a new aftermarket gauge in your list of stuff to get. The stock gauge is simply too hysteretic and lacking in calibration, to use [esp when doing diagnostics like you are].

If the stat was stuck, the car would keep heating up, whether idling or with some revs. A firm upper radiator hose suggests the stat is opening. The gauge fluctuations with charging system and voltage drop loads suggests the gauge is kinda funky, or the power and ground path to it.

Good luck with it.
 
chances are you're not overheating if its not happening while in park

so i give you permission to drive your car, non-liable permission of course

these guys are right, and while you're pretty sure the stock gauge is fine, you're wrong. electrical problem somewhere, somehow. try relocating the new battery ground, though it probably won't change anyhting, theres a slight chance it may

i would tear apart your instrument cluster, as the ground is somewhere in the dash behind it
 
A jumper cable can be used as a temporary ground - nice for garage diagnostics. I have done this to find weak cables - you run the jumper cable in parallel with the stock cables until issues improve. That last cable was deficient in some way and should be renewed and/or the connections cleaned.

If you are careful, you can (on a cold motor) remove the rad cap. Toss an old but good turkey thermometer in the radiator neck and let the car idle and warm up. BE VERY CAREFUL OF HOT COOLANT WHICH VERY WELL MIGHT FLY OUT OF THE RADIATOR-CAP ORIFICE - A CLEAN RAG, ETC STUFFED AROUND THE THERMOMETER MIGHT HELP KEEP COOLANT FROM FLYING OUT AS FAR. PEOPLE DO GET SCALDED EVERY YEAR FROM SITUATIONS LIKE THIS.
(Sorry - had to say it).

Now let the car warm up and compare the thermometer reading to the gauge reading. Also, you can see when the stat opens and compare it to the turkey thermometer.

The thermometer is no longer fit for contact with consumables. And do be real careful.

Good luck.