Had a weird one yesterday with a blower motor

Got a 2010 Cummins 3500 and a 2015 Hemi Ram with the blower motor working when it feels like it, will run for a few minutes, shut off, then come back on minutes to hours later. The 2010 will start back up when the key is turned off for 5 minutes sometimes. I read about a resistor issue that heats up then cools down and will work again. Hopefully that is what it is...