Oil prtessure switch works by grounding the feeder wire when pressure is good.
To quickly test sensor, remove wire from sensor and touch to body earth. Dash light should illuminate.
If it does illuminate, then sensor is faulty.
if it doesnt illuminate, then wire or bulb.
Mine failed so the pressure light permantly illuminated.