Oh, and one other thing to check... once you verify the gage wiring and ground are good, if you disconnect the "S" wire from the gage and measure resistance from the S wire to ground you should get somewhere between 30 and 240 ohms, depending on how much fuel is in the tank.
If everything checks out but the gage is still pinned, look closely at the gage. I know at least the Faria Beede gages can get stuck if they peg all the way up or down. The needle will usually hit the side of the housing and get stuck.
To fix it, loosen the nuts on the long mounting studs and tap the gage sideways against your palm, that should jar the needle loose.
tighten the nuts, reinstall and try it again.