Door jamb switch

Switch is bad but can't find replacement. It has a 3 pin male plug that hooks to switch itself. Anybody ever discover a part #. 72 swinger, also has a map switch, which may be reason for 3 wires