Most often the problem you describe is with the thermo … system. Here are a few things to start with:
Does it have a thermopile or thermo couple?
-If a thermocouple, make sure the retaining clip is installed(in addition to the retaining nut). As the oven heats up, the thermocouple wire expands...