First ground the wire at the sender. Turn on the ign. The gauge should go all the way to hot. If so the gauge & circuit are probably ok. The sender can be tested but its easier & better to put in a new one. They are not expensive. Make sure you get one for a gauge & not a light.
George