Multiplexing USB pins using analog switches solves pin sharing between devices. Here’s a good app note(PDF) from ON Semiconductor.
NLAS2066 is a dual SPST (Single Pole Single Throw) switch with over-voltage tolerance (OVT) in its input pins. The OVT feature permits the device to be used for the purpose of sharing of pins in size constrained applications. Shared pins permit the designer to have a smaller connector, saving cost on both male and female portions.