Here is another version which achieves the same outcome. The layout may be simpler to follow what is going on.
Note: the previous version may be better if wanting to incorporate additional switching post the selector switch, such as out of phase as in this version bridge green and bare go directly to ground. That said, a phase switch for the bridge green and black could be pre selector switch and the bare in this case go directly to ground, bypassing the phase switch.
Switch above oriented as follows.