My 94 accord lx will turn over but not start. on 1994 Honda Accord

Changed fuel pump and it ran fine for a week. Stalled on my wife and we parked it. A few days later I started and it ran, but stalled and wouldn't start a mile from home. A friend said it may be ignition switch? I changed plugs and wires but not distributor, wondered if that may be it