In most cases it is not possible to pull the plug through the hole.
You can pull the wires as much as possible, cut them and attach the new sensor, using the wire nuts.
In my opinion this is not the best solution, because poor connection will cause problems later.
Even if it's not easy, I would recommend to remove the range and do everything from the back.
Also I would recommend to eliminate the plug and install the new sensor, using the wire nuts. The quick disconnect plug could cause a loose connection.
- The part number for the oven temperature sensor
AP3130719
Gene.