Is there such a thing as a "multi-way voltage selector" switch?
DIP switches don’t come in SPDT type. So, better to use 8 small SPDT switches, one for each RJ45. Small slide switches would do this nicely. Then you don’t have to worry about accidentally shorting +3.3V and +5V.