2N2222P usage on Load Switch

Right, and don't omit the diode! It protects your transistor from induced overvoltage.