I was driving and it started shutting down when I hold the break
You would think that would turn the “Check Engine” light on.
I’m not a mechanic but I assume you mean it dies at stop lights, etc. A bad idle air control valve could cause that, as could a number of other things. As noted, the check engine light should have come on. Have the resulting codes scanned and post them here, someone can probably help.
Clean the throttle body.
It sounds like the engine needs some routine maintenance. How many miles ago were the following done?
- replace spark plugs
- replace engine air filter
- inspect throttle body crud build up
- fuel filter
- verify electronic ignition is working correctly (spark voltage ok, timing ok)