Voltage line switcher?
If I do understand your question correctly, I think you can just use one relay, but "the other way around" (instead of 1 output serving 2 outputs, using it as 2 inputs serving 1 output):







simulate this circuit &ndash; Schematic created using CircuitLab