The black wire will not float between 0 and +5, the black wire is ground in the switch and will remain at ground. The isolated 5 vdc power supply will float between + or - 5 volts.
Oh sorry, I was writing at the same time as Steve. He already answered your question...