It sounds like you are looking for software to support a (often a small box with 2 USB-B input ports for two PCs and 1 USB-A output for a printer).
If your specific switch model truly needs a driver, reply with the printed on the device, and I can help you locate the correct file. Otherwise, focus on installing the printer driver on both computers.
Before you search for a driver, here is the critical fact: