have a 97 protégé will crank but not start on 1997 Mazda Protege

have replaced fuel pump, distributor cap, spark plug wires spark plugs, will start if use starting fuel in air box and run fine, will restart again if shut off and start again but not if wait to long...checked all fuses none are out. Can't put on a diagnostic reader wont read, is there a fuse for this , cant find 1 was told if reader out to replace that fuse it also runs fuel system

Asked by for the 1997 Mazda Protege