Engine management light and engine stalling


I have a 1992 Sportrak, the engine management light comes on for a few seconds intermittently and when coming to a stop sometimes the engine revs die resulting in the engine stalling. Local garage has drawn a blank as the problems wern't there when it was booked in. Any help or suggestions would be most appreciated.
Cheers Mal