Intermittent heat

Dryer would not heat. Every time I replace a part it works fine for a few loads then stops heating again.

I replaced the thermal fuse - watched the igniter glow and light the gas. Put it all back together, ran two loads fine then it stopped heating.

Replaced the thermostat (the one on the heater box). Watched the igniter glow and light the gas. Put it all back together, ran two more loads and then it stopped heating.

Opened the back again and noticed the connector to the newly replaced thermostat was loose. I tighted it up, watched the igniter glow and light the gas. Put it all back together, ran a load fine and then it stopped heating again.

What should I look at next?

Sir-

How about airflow obstructions everywhere including the exhaust obviously, then jumper around the T-stats/T-fuse one at a time and see if it lights, failing that, flame sensor? Not really sure how that works, could be hazardous to defeat!

Good Luck to You,

Steve