Strange happenings w/ 1998 Dodge Grand Caravan

Quick history: I have a 1998 Dodge Grand Caravan w/ approx 126K on it. I reported a problem here where all my dasboard gauges suddenly shut down like the power was cut to them, No Odometer, tach, speed… but the turn signals and headlights work fine. It was suggested that the problem was loose electrical connection to the instrumentation board. Following these outages the check engine light would come on. My mechanic said the code was showing the computer was going in the car. Now, the newest thing is that the check engine light is now turning off all by itself. The gauages will go out, engine light comes on and that a few days after that, the check engine light goes off. I thought the only way to shut that light off was to clear the codes from the computer. If this is true, it seems to me that something is malfunctioning in the computer. Could this be true or do you all still think its more an electrical connection problem on the instrument board?