My Ram 3500 did that and it was loosing the ground for the computer at the negative battery cable. I cleaned the cable and wires and no more problem.