A KVM switch ... selling KVM switch on Amazon at the time of writing, one that can handle two devices connecting to one monitor with four separate USB 3.0 ports (including a Type-C one).
KVM switches are hardware devices that allow IT personnel to use a single keyboard, video monitor, and mouse (KVM) to control more than one computer at a time. They reduce the number of peripherals ...