I bought the [Razor IMU and I’m working on an enclosure which requires an on-off button. To do this, I need to solder a rocker switch onto the same contacts as the PCB switch and it will act as a bypass.
Guessing you are asking about S2 in the schematic.
This switch is a DPDT but is wired as a SPST (they doubled up on the contacts possible for better current handling).
Is rocker switch you want to add going to be mounted on the enclosure (panel)?
All you need is a switch that has open/close contacts (SPST) that can handle the current. Then just wire the switch in parallel with the switch on the PCB with the PCB switch in the open position.