Using a through hole right angle switch
You should provide a (safe) path for ESD current from the two frame terminals. 

Usually that will be circuit ground, as shown in the below datasheet for a similar switch.