Test the old sending unit by itself first.

Also see if it's Mounting Flange holes co-respond to the Hole-pattern on the tank you are thinking to put it into.