Transistor shortcut

12vtransistors

i would like to fade an led strip using pwm with a n mosfet led that is commanded by a two way switch ( relay and sw1 ) like this:

schematic

simulate this circuit – Schematic created using CircuitLab

Sw2 is a rescue switch in case of command problem.

Can i shortcut my transistor using sw2 like this ?
Any better ideas ?

Best Answer

As in the first comment, shorting the pins of the Mosfet is OK. Also as the comment the N-Mosfet is connected incorrectly. To use an N-Mosfet for this function would require that it be connected on the low end of the circuit between the LEDs and the supply (with source pin at the "-" supply point). A P-Mosfet could be used at the original position (with the input signal inverted).