So when you first crank the car after the engine is fully cooled it will crank right up and drive great, only when it comes up to temperature is when it bogs down?
If you can crank the car when it is cold and go wide open throttle and it runs great then that would rule out fuel issues as well as vacuum leaks. That is unless your fuel pump is overheating.
When I got my new s13 (stock ka24), I got it at a great price cause the guy did not know what was up with it and could not get it running right. I got it home, drive it for 10 minutes and once it got warmed up I would lose pretty much all power. After some further investigation I found out the gas tank had water seeping into it. The gas tank was rusting inside which I am assuming caused the fuel pump to overheat. The gas in the tank literally looked like watery mud. Swapped in my gas tank and fuel pump from my wrecked s13 and it ran like a champ.
Did you drive this car with the KA in it? How did it run? Have you checked the tank yet?
Or, as you mentioned before it could be the ignitor but that is why I have been asking you to run this test:
AxiOn419 wrote: Take out the coilpack and spark plug that is on the cylinder that is not firing. Put the spark plug in the boot, touch the plug tip to the valve cover, unplug all the plugs to the other coil packs. Have someone else turn the car over and see if it is getting spark. That way you know if it is a spark/eletrical issue. If you are still getting spark then it may be a fuel problem.