M12 resistor p4 capacitor

Is there a cross reference to this m 12 resistor?

And this p4 capacitor?

Voltage through the entire system isn’t more than 7.2v

Hi,
Welcome to the Digikey tech forum. Do you have a schematic from where these parts came from. These look like diodes to me but I’m not able to find any specs in the markings.