What is the problem if a 95 Honda Accord is constantly shaking and the check engine light comes on?

The problem could be many things. With the check engine light coming on, it could be an internal issue in the engine, or broken engine mounts causing the vibrations. The shaking could also be caused by a separate issue from the engine, including a loose tire, or an out of balance tire, or bad suspension.