Metallothiol transferase which confers resistance to fosfomycin by catalyzing the addition of a thiol cofactor to fosfomycin. L-cysteine is probably the physiological thiol donor. Homodimer. Belongs to the fosfomycin resistance protein family. FosB subfamily.