Possible vacuum leak, look for broken, unhooked vacuum hose, have helper keep engine running while listening for hissing sound of vacuum leak .. Also possible sticking IAC (idle air control) valve. .. Check engine light on while engine is running?
RepairPal Certified shops can diagnose and repair your 1991 Mazda B2200. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.