hi there,
1st check from the plugs back,otherwise try this,,,,,,,
i,m not sure if this will help,but have a look thrue the workshop manual for something like a P.T.U.,,,,why do i suggest this,
well my 300zx cut out when it was warm,otherwise runs fast and true,,until it warmed up a little,it was my ptu(power transistor unit),cuts the engine out,,,,now on the 300zx it has seperate coil packs,this is what a ptu does,send the correct pulse and amount of currant/voltage to each coil at a presice time of fire,vroom,,,
i hope this has helped or maybe it's made it worse.
good luck