what is this?

i need help identifying the black plug to the right of my oilfilter
i broke the wire going into this plug while changing my alternator, the car runs fine and no check engine or service lights come on, im going to fix it i'd just like to know what it is, thanks!
dunno if you'll be able to solder to the broken oily terminal end without melting the plastic insulator and gumming up the oil sensor. I'd probably buy a new one, and replace it next time you're changing your oil.
btw, its a $13 part online for the OE part,
Volvo Oil Pressure Switch - TRW / Mera (OEM) 1347003 | FCP Euro
Volvo Oil Pressure Switch - TRW / Mera (OEM) 1347003 | FCP Euro


