Check engine light is on and car is shaking?

I have a 1997 honda accord. Today, the upper radiator hose split and filled the car with steam. I replaced the hose and refilled the antifreeze, but the check engine light is still on. Now, the car shakes badly whenever it is in park. It also shakes when accelerating or braking, but not as badly when maintaining a steady speed. Do you know how to fix this and how much it would cost?

Sounds like it got hot and blew the head gasket or cracked the head.

Before you do anything or make any assumptions you need to get the code read.

Shaking while parked is called rough idle and that can be caused by a vacuum leak at the least.