Help with dual servos

I forgot to mention, at some point, somewhere, on it's own timer, I need to send a signal to a pin for X amount of seconds.

I need to use a transistor as a switch to control a solenoid to open and close briefly.