When you put the fuel gauge sender back in the tank, you did make sure the float was on the unit and the float did not have any holes in it?
Also, did you by chance paint the mounting tabs in the cab when you had the tank out? The tank needs to be grounded to the cab...for the gauge system to work correctly.

