Help with dual servos

Transistor base.

We have a 24V solenoid, I was going to use a transistor as a switch to turn the 24V solenoid on and off.
It has to operate without delaying the servo loops.