Powering a 12VDC Solenoid and 120VAC Pump

For 500mA I think the Y-cable is the better option.