Do your self a favor and search for efi bible. It is now even a sticky.
Mine dose the same thing periodicly. For me it is the afm. I just leave the cap off and readjust it periodicly when it is needed. When your air fuel is off you will smell the bad combution easily. Also check the rear of the car around the muffler, my 82 had rotten away causeing fumes to enter the cabin.
As for the afm adjusting, if you have the money get a wideband. I don't have one so it's kinda like peeing in the wind, but I always get it close.