Maybe I should have kept to a more generic "Magnetically Actuated Switch" and we needn't have gone down the electronic rabbit hole. These would require a magnet to activate.
In any event, these "prox" switches exist, are readily available, and just need to be selected to meet whatever spec's you require.
Sealed units are "black boxes". When they don't work exactly as specified, you toss them and go again.
https://www.amazon.com/Philmore-N-C-Magnetic-Reed-Switch/dp/B01IU7NWMM?th=1N.O./N.C. Magnetic Reed Switch, SPDT
Current Rating: 0.5A@ 20V DC, 10 Watts (Max.)
https://www.mcmaster.com/magnetic-switches/A savage amount of current & voltage possibilities.
https://www.mcmaster.com/proximity-switches/dc-metallic-object-proximity-switches-9/DC Metallic-Object Proximity Switches
Also known as inductive proximity switches, these detect metallic objects even if they’re obscured by water, oil, dirt, or a surface finish. Sensing distance is based on the target material. The distance listed is for mild steel. They’re often used with programmable logic controllers (PLCs) and produce PNP or NPN signal output. Some of these inductive proximity switches are in the $20 range and are good for 200mA of DC, 2.4 watts, so would work with via a suitable relay for a brake lamp.
The "Magnetically Actuated Switch" has a few examples good for 3A, so up to 36 watts @ 12V, so could easily directly activate an incandescent 1157 brake/tail light (2A/0.6A) or even better an LED brake lamp, but you'd need to give it a magnet to look at.
It's all just tinker toy stuff. Use it, or not, or keep what you got.
https://stevenengineering.com/tech_support/PDFs/38MAN_SENSOR.pdfRed Lion has a "Magnetic Prox Switch" that has it's own internal magnet, so you don't need to add one.
https://www.superbrightleds.com/moreinfo/miniature-and-subminiature-bulbs/1157-led-bulb-dual-function-27-smd-led-tower-bay15d-bulb/2625/