Assuming it ran fine before, like after motor was installed and tuned with the cam and blah blah. Check fuel pressure, should hover between 9-12psi. I would try and make it stick around 13ish though, or 12 depends on the motor. Second, after that, assuming the plugs, wires, cap, rotor ect is all good, check the operation of the idle air control valve, its on the right side (passenger) of the TB. Its a plunger type thing that lets more air in when the blades close, sorta like a choke. Also make sure no VAC leaks around TB, you can use a length of 1/4in VAC hose and put one end in your ear and the other around the intake and ect, you will hear a hissing if leak is present. DONT get caught in fan, I know it sounds dumb, but everyone that got killed by a fan said or thought the same thing. Lastly, check the coolant temp sensor, on the intake/thermostat housing. If it has a check engine light it will be easier to diagnose. A scanner will tell you IAC position, and how it moves, TPS positon, Coolant temp, ect. Might be very helpful if you can get ahold of one, but unless you have a mechanic buddy it could prove to be difficult.