rough idle on 1995 Mazda B2300

my 95 b2300 runs fine and starts right up but sometimes if it idles too long at a stop light it will idle real rough then die. what could it be

Asked by for the 1995 Mazda B2300
clean out your egr valve if that does not work get you catalyst converter tested
2 more answers , 1 more comment
I had the same problem...rough idle. After much reasearch and uneeded replaced parts, I found that the problem was the EGR vaccuum regulator. Replaced it and it works great now.
posable dirty fuel filter or egr
Where is the egr located?