Courtesy of Mouser

Schurter DMTH 2.54mm THT DIP Switches are robust and cost-effective DIP switches designed for reliable manual configuration in industrial and electronic applications. The DMTH features industry-standard 2.54mm pitch and THT mounting technology. This Schurter series offers excellent compatibility with established PCB designs, while ensuring secure mechanical retention and soldering reliability.
Learn more about this product at Mouser