This 4 leg slotted LED opto switch is a direct replacement for PCB mounted optos used on many pinball machines.
Verify orientation when installing. Optos can be installed backwards. Bally original 5490-13451-00 had longer legs and an extension may be required for installation.
Williams/Bally reference #5490-12451-00 & 5490-13451-00.