The version that is in the image is a slightly older version without the mounting holes as well as the ON symbol
I have LED's that are connected to my printer but I didn't want them on all of the time, so I modeled a switch using the wires I was already using.
Warning: Do not use this switch for high voltages, use at your own risk. If there is something that requires a lot of power going through it, buy a switch that is rated for doing such.
Assembly: Print both parts, put the male end in the Switch(the slider), and the female end in the Switch Casing. Glue the cables into place. Put the switch piece into the switch casing, this will require a considerable amount of force so it stays in place. I recommend using pliers to press it into place.