My tractor requires the shift to out of gear,
pto off, parking brake set.
I have had trouble with the fuel gauge a couple of times. Both times when the fuel was a little low. Both times it eventually started working again and I don't let it get below 1/4 tank any more. When mine was not working I removed the gauge cluster and touched a wire to and connected the two screws on the fuel sending unit on top of the tank. I was told that if the gauge went to full the gauge was ok. Mine did. Guess the float may have been stuck in the tank.