I thought I needed a USB switch until I found this app https://www.makeuseof.com/share-usb-devices-over-network