Yes. Such are made as well as an USB switch. Check Belkin.

I found that 5 dollar network cards, a crossover cable to be less costly, but that's me.

Bob