Fan controller unit on the back of the main fan, seems to be the brains of what is / isn't working up front re the cooling.Thanks for the update. Do you mean the thermostat or some sort of fan control unit?
Could be as simple as lose wiring inside it I guess, as it works sometimes.