Switching USB plug between 2 devices
It is highly unlikely it will work, as generic switches are not designed to be used on sensitive multi-gigabit signals. Also it would connect all pins at the same time, while normally USB devices connect power first and then data pins for safe hot-plugging.