I would check all the ground connections in the cab and the engine bay/frame. Don't just look at them, take each one apart, inspect and clean/wirebrush each terminal and put it back together and see if that helps. Try putting a voltmeter on the system when it is charging and see if you are getting 13.8 volts or so. And if it acts up again, re-check the voltages and see if there is any difference.