need help TIP120 NPN

Don't forget the kickback diode across the solenoid.

No need for it since the TIP120 already has a builtin kickback diode. See the datasheet.