My '96 Tracker had, I believe, a bad capacitor on the ECU. If, after starting it, I didn't let the idle "settle" on its own prior to driving off, it would want to die the next time I'd come to a stop (like at a stoplight or whatever). It could be just a few seconds later, or hours; just the next time it was time to idle, it'd want to die and, if I let it, die it would. Upon re-starting, of course, all I'd have to do is let the idle settle and it'd run like a top all day long.
Took forever to figure out that particular idiosyncacy.