I needed a switch to control something that plugs in with a simple 2-pin Dupont cable. I thought about making a dongle cable or board for the hookup, but then I had an idea.
Boom, solved. Pics of construction and deployment into a 3D printed bracket: