Temp Gauge Sender issues

What he said and check your grounds for engine to battery and engine to chassis. Chassis to battery.
Check your fire wall block connection. Make sure the connection for the wires are clean and in good contact. It’s a very simple system that can go silly when dirty.