I have a 2003 Ford Explorer cranks over but don't start I put a new fuel pump in it and I have spark but I still don't start

Yes sir I tried that I got spark I put a new fuel pump in it I change the crankshaft sensor and it's just keeps cranking over but won't start it just happen out of nowhere I was driving and I push the gas to take off faster then I came to a stop sign then I tried taking off and it didn't want to go