Single solenoid for shifter