I can’t remember the name of the connector for the tiny pins on the board side. I know I’ve got billion of them somewhere in my shop. On the switch side, small female spades will do the job.
Dupont Connectors. You can get a kit from amazon with a bunch of male and female pins, and an assortment of plastic ends that they slide into. You also have to have crimpers for dupont connectors.