The brass was "press fit" into metal housing originally. Repeating that process out to restore it. Sometimes if you gently twist it in its resting place hyou can find the position it was in before it got yanked out. That will be the best position to press it or tap it back into place. However, if you cannot find that position and the tube or socket has ovaled, you will need some sort of fuel resistant sealant.
Cheers,