When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
A buddy of mine showed me a quick way to find out if it is the temp sensor or the gauge itself.
Take the wire off of the temp sender, and ground it somewhere on the engine( I used a nearby bolt on our 5.8) When you do this have someone inside the cab and see if the gauge moves. If it does, then it's probably the temp sender, if it doesn't, then it could be the gauge.
Here a pic of the sender location. It is not my pic, I just found it on the web. And it looks like it has the name of another forum member on it.