I ended up fixing this problem by replacing the board. I also added a MOSFET for the bed. So it appears that the issue was a defective board. What was wrong with the board? I couldn't tell you. But replacing the entire board solved weeks of headaches.