Fuel resistant filament

PETG is fuel resistant but I don’t think I’d trust it to be immersed constantly, or to not leak through the layers. You could however coat the printed part in fuel tank repair epoxy, or print the float to use as a mould to make one out of brass, like most floats are made of.