New Heating Element not the problem

If heating element was replaced and burner still won’t stay on long enough to heat up, is the problem the switch infinite controller?