Q: Connectors to Oil Pressure unit on 1992 Jeep Wrangler

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
The connectors (black) to the oil pressure switch has two sides. The side of the connector that attaches to the wiring (green) to the guage has a back plug that keeps popping out ( its white) and a little oil keeps leaking from it. I pushed it back in but it keeps popping out. Is it ruined - and can I fix it - or can I buy that little connector part and just rewire it to the guage wire ?
(1) Answer
(1) Comments
First you need to replace the leaking oil sending unit ASAP, before that fails completely and you lose all your oil and your engine!!
Thanks - I went ahead and did that - now the guage works again and so far the back of that connector has not come apart again. Perhaps I should wrap some tape around it for insurance ? Just so I understand - does oil actually try to blow out through that connector. Sorry if its a dumb question but I guess I don't quite understand how the oil sensor and its connections there work. Is the oil pushing agaist a piston and the wire measures the movement ? Anyway, mahalo nui loa for the reply - its greatly appreciated !
Oh, by the way - the part was $34.38 at NAPA - here in Hawaii -as was stated in another earlier post I read concerning oil sensors.