I had a ford escort that would do that and it took me forever to find the problem. Ended up being a vaccuum hose that went into the top of the valve cover of all places. It cost me a whopping $2 to fix it. It would run find when cold then once it was warm it would die every time I came to a stop unless I kept the idle up. I am no mechanic and I have know Idea why that would do that, but it did. So maybe check all your vaccuum hoses....usually you can hear them drawing air and kinda hissing.
Good Luck