Your gas tank but more specifically the sending unit needs the ground
When the gas tank moved into the cab the ground wire goes from one of the sending unit screws back out under the cab with the sending wire, the ground wire screws up onto the underside of the cab about under the drivers butt.
There should be an equivalent ground for your under box tank.
If not add one
But first do that experiment phak1 suggested above
-s