Circuit Description
WARNING: This page is about a different car, the 2004 Toyota RAV4. However, it is still accessible from the selected car via links, so may be relevant.
When the ignition switch is turned ON, battery voltage is applied to terminal IGSW of the ECM. The ECM "MREL" output signal causes current to flow to the coil, closing the contacts of the EFI main relay and supplying power to terminal +B of the ECM.
If the ignition switch is turned OFF, the ECM holds the EFI main relay ON for a maximum of 2 seconds to allow for the initial setting of the throttle valve.