This is a remix of https://www.printables.com/de/model/128549-magnetic-fidget-toggle-switch. This just uses 5x1 mm neodynium magnets. Insert 4 into each case and 2 per side into the switch.
The author remixed this model.