There are three possible problem areas. Gage, Sender and wires. There are two kinds of gages but for this you can consider them to be the same.
You are going to be surprised when I tell you the most likely cause too.
To test the guage you need a small resistor, a 12 volt light bulb will do, and a Multi meter If you can find the guage terminals use the "Sensor" side (one side should be something like six volts, the other should too if the problem is not the guage, if you hook a test light you should see the gage move)
To test the wires.. You will need to access the sender unit on top of the tank.. Same test, measure voltage, hook up test light, you should see the gage move with the light. NOTE: on some rigs there is an inspection panel and you don't need to drop the tank.
Next comes the tank to ground connection.. Yes tank to ground (Frame) Using the multi meter measure voltage from the tank, or if the tank is plastic from the ground connection on the sender, to the frame of the coach, ANY reading above zero is unacceptable, it should be zero.. If you get a reading hook up the test light, (Same connections) if gage now appears to work you have a ground fault.. .This is my prime suspect, A ground fault. (Ground faults are the problem as often as not)
Finally there is the sender unit itself, With fuel in the tank (half a tank is nice) using the multimeter on OHMS (Resistance) scale, unhook all wires from the sender and take a reading, ZERO is bad, INFINITY is bad, anything else is good.
NOTE: Another suspect is the connections you just unhooked,,,, If everything tests good, hook them back up and see if it now works. (It is not a miricle, You simply cleaned them by rubbing them against each other)