If you clean up the area you could probably solder it back on to the sending unit. And I dont know if this would be acceptable, but im sure someone on the forum will say yes or no, but you could probably put a terninal lug on the end and use a self tapping screw to screw it into the top of the sending unit.