XRO,I would say its probably the wrong sending unit for your application...reading up on google I found that different year GM's used sensors for temp gauges that have different resistances at certain temps..so not only can one for an idiot light not work a gauge right,so can the "wrong" one for a different year truck..
Brans87,if your gauge works fine,then decides to "peg out" past full,I'd guess the wire going to the sending unit is touching ground somewhere,most likely against the exhaust manifold or headers seeing it runs right by it..
Digitalepiphany--not working at all--first try turning the key "on" and grounding the wire to the sending unit--if the gauge doesn't read all the way to "hot" it could be the gauge is not getting 12V to it from the ignition switch,or the gauge has smoked and is no longer working..
I'll attempt to post this link to 73-87 Chevy trucks website,where I read the info on gauge troubleshooting..has a good text on how to test them and how to make use of resistors and a multi-meter to test the gauges and sending units,and the specs for the right resistance for certain years..