Honda accord 2003 V6 Tcs and engine light please I need feedback?

Ok so I was driving my car in traffic earlier and it suddenly started shaking and the brake pedal got really hard I was having to really step on it hard it felt like it didn't work TCS was on and ENGINE light was too so I pulled to the side and got it towed… I'm wondering what will I need to fix is it something expensive?

No real way of knowing until the mechanic plugs into the computer and works out what's wrong.

If the engine quits you loose power assist for the steering and brakes, so it's normal for those to become very heavy and need more force, so that's probably nothing.

You need to work out why the engine quit, and there could be 50 reasons for that. Some minor, some serious.