Switching 5V current between two solenoids

That was my original thought but that wouldn't allow me to use the one 5V pin, correct? I need to switch it between both solenoids as they both need 5V to operate.