How to wire an RCE225 Dual Ended Switch for Series/Parallel switching
It's a relatively straightforward application of a DPDT relay:







simulate this circuit &ndash; Schematic created using CircuitLab

Just make sure it has a break-before-make contact configuration! You'll want to reduce power when changing this switch anyway, to reduce contact arcing.