The in tank sender simply alters the resistance of the earth feed to the gauge.
Ground the wire at the sender and gauge should read full. Disconnect the wire at the sender and don't let it touch metal and gauge should read empty. The sender inside the tank just varies those two scenarios.
Is the gauge stuck on full or empty?.