Here's the long story. Please stay with me..Three weeks ago I went to start my 97' altima it started ,but had a skip that lasted a few seconds then cleared up. The next day on my way home it cutoff so I pull off the road and restarted and drove it home.The next morning (15 miles) into my drive it cutoff again , I put in it neutral and restarted (still rolling @ 45mph). I left work that day and about 12 miles into my drive and it did the same as before, but this time it would not restart.I tried it get it to start until the battery was almost dead.It would ''hit'' trying to start but not start. At this time I had no ''codes''. someone picked me up and returned to the car 3hrs later.I keep trying to restart,finely it did, but it idled very rough, finely cleared up and started home it cutoff 3( now check engine light comes on) more times in 10 miles and would not restart.I had it towed 2 miles home.Here's what I have tried . Two codes - PO340 AND PO325. Removed fuel line @ fuel rail and was getting gas there.Removed one spark plug and reconnected the wire-have fire @ plug.I removed the distributor and found oil in it, replaced with aftermarket.No difference.Replaced crank sensor...still the same.Checked wiring from dist to computer harness...ohmed out no problem there.I am getting fire and fuel, but it will not run.Sorry for dragging this out, but I am trying to give as much info to get best answer.Thanks for any help.