I would start to determine what the problem is. With the fuel gauge wires disconnect from the sender, key in the run position (no need to start tractor), touched wires together the gauge should go to full, with the wires disconnected it should go to empty. Some tractors it goes just opposite of what I just said, that still indicates the gauge is good.
Call your dealer to get the ohm rating of your sender, most likely 0 ohms is empty and about 95 ohms is full. If is possible try and determine how much fuel is in the tank and ohm test the sender. If you have some old electronics (maybe an old fence charger) pull out a 50 ohm and a 100 ohm resistor and connect it to the 2 wires at the sender. Or you could buy the sender part number RE285548. Greenfarmparts.com shows the cost at $50.65.
Attached is a picture of location of sender. If you do need to replace the sender, it comes with a gasket, but I would still put some gasket sealer on. Most likely your tractor is cab tractor, hopefully you can get access to the sender without having to raise the cab a little.