GE Profile Dryer Heating & Not Heating

The dryer is heating for about one drying cycle, then not heating for other additional cycles. If you let the dryer "rest" for 12 - 24 hours, then it will heat again for another cycle or two, then no heat again. Is this a thermostat problem or some other component of the heating system (ie. heating element, etc.)??? Any suggestions would be greatly appreciated!