Omron 24v coil relay

Yes. For example if you use pin 10 as output, the 10K goes between pin 10 and GND and the 220 connects between pin 10 and the MOSFET gate.

And that is a diode in between the Mosfet and relay?

The diode connects across the relay coil with the cathode (end with the band) connected to the side that connects to the +24V