I reinstalled the control board and put the dryer back together. I made sure that the ribbon cable was fully seated. I did not replace the diode.
When I turned the machine back on, the cycling of settings has not happened again. I have had it plugged in for over a day and no cycling. Now I have a new problem that may be associated with taking it apart. I can set the machine up to dry, but when I press the start button it instantly goes to pause. I can cancel the settings to get back to --. The only other thing that I did was to clean out any lint and dust inside the machine and also cleaned off the temp sensor on the discharge. I have made sure that all the plugs and wires are seated good.