According to this data sheet you should apply a Vgs of at least -1.5V to turn it ON and a Vgs of <0.4V to turn it OFF.
If the MOSFET source is connected to a plus voltage of 3V to 4.2V then you need to add a NPN transistor buffer stage from the controller output to the MOSFET gate.
Connections are:
Controller to resistor to NPN base.
NPN emitter to common.
NPN collector to (second) resistor to +ve rail.
MOSFET gate to NPN collector.

The MOSFET will turn on when the controller output is 3V.

How fast do you need to switch the MOSFET?
That will determine the values of the resistors and the type of transistor.

According to this data sheet you should apply a Vgs of at least -1.5V to turn it ON and a Vgs of <0.4V to turn it OFF.
If the MOSFET source is connected to a plus voltage of 3V to 4.2V then you need to add a NPN transistor buffer stage from the controller output to the MOSFET gate.
Connections are:
Controller to resistor to NPN base.
NPN emitter to common.
NPN collector to (second) resistor to +ve rail.
MOSFET gate to NPN collector.

The MOSFET will turn on when the controller output is 3V.

How fast do you need to switch the MOSFET?
That will determine the values of the resistors and the type of transistor.

According to this data sheet you should apply a Vgs of at least -1.5V to turn it ON and a Vgs of <0.4V to turn it OFF.
If the MOSFET source is connected to a plus voltage of 3V to 4.2V then you need to add a NPN transistor buffer stage from the controller output to the MOSFET gate.
Connections are:
Controller to resistor to NPN base.
NPN emitter to common.
NPN collector to (second) resistor to +ve rail.
MOSFET gate to NPN collector.

The MOSFET will turn on when the controller output is 3V.

How fast do you need to switch the MOSFET?
That will determine the values of the resistors and the type of transistor.

Your circuit doesn't work because the gate of the bottom (control) MOSFET is open when the switch is open.
You can't leave the gate of a MOSFET open, as it will float to an undefined voltage (the gate looks like a capacitor).
Connect a 10k-50kΩ resistor from the gate to ground.