Using digital outputs to switch 24v DC

Would this system work with 12V at about 5 A.? I want to control some wiper motors with the arduino board.