The easiest way would be to put the switch anywhere on the positive (+) wire. Make a cut in the wire and solder in the switch. One part of the wire will go to the middle pin and the other part to either the left or right pin of the switch.
Depending where on the positive cable you put the switch may mean you interrupt the supply when charging the battery. If that's not your intention it would be better placed between the PI and the charger, not the charger and battery.
Note this method would not shutdown the PI in a clean manner. It would be the same as ripping out the power. There are many tutorials on how to connect a momentary button to a gpio and send the shutdown command - better way.
Edit 1 - Insert visual at OP's request

simulate this circuit – Schematic created using CircuitLab