Likley to be an earth fault or chaffed wires unless repalcement sender also faulty
Sender in tank varies voltage to gauge as the fuel level drops
Full tank = 12v supplied to gauge which reads full. Voltage drops as fuel level decreases.
Can check sender by removing and seeing if voltage fluctuates with a multimeter.
Effectively your gauge is getting 12v all the time