Toyota Repair: 91 22RE dies when idling (warm), air hoses, vacuum leak


Question
The truck runs decently when my foot is on the accelerator (reving or driving), but idles rough a few seconds then dies when idling after warm-up (it idles fine when cold).

Everytime just before it dies, I hear a "click" coming from the passenger floorborad area (at least it seems to originate from that area).

The click reminds of the sound some relays make when they switch...

Any ideas?

Thanks!

Answer
The click is the EFI relay turning off because the engine died, it's not the cause of the problem.
The most likely cause is that there is a vacuum leak on the intake system, check the intake air hoses from the air filter over to the throttle body and make sure they are not cracked or loose, any air leak there will cause engine stalling.