How come my car won't start?

I was having battery problems with my 1997 Ford explorer. My.battery would die on occasion for about 2 weeks. My car sat there for about 2 months without starting and now I recently bought a brand new battery and installed it and the car turns but just still won't start… Any help or input about what the problem might be would be appreciated thank you very much.

There would be 2 problems:

1. Battery problem coz you left your car for about 60 days without starting and probably battery died
2. Bad Alternator -Since you bought already new battery and yet your car doesn't start

Alternator is the one who give power supply for your car

IF IT WAS BUMPED WHILE PARKED FORDS HAVE A FUEL CUT OFF SWITCH IN THE BACK TO CUT OFF GAS IN CASE OF AN ACCIDENT. LOOK IN YOUR MANUAL PUSH THE RED BUTTON HEAR IT CLICK AD IT WILL START.

Hi so what it most likely needs is a service so time to dig deep and pay some one to fix it.

To successfully troubleshoot the cause of the No Start Condition of your Ford 4.0L equipped car or mini-van, you need to know that there are three very basic components the engine needs to start and they are:
Air.
Fuel.
Spark.
So, when your Ford 4.0L Explorer (Aerostar, Ranger or Mountaineer) Cranks but Does Not Start… It's because one of these components is missing from the mix.
This basic piece of information will make you aware that you need to see if the problem is being caused by a problem in the fuel system, or in the ignition system, or in the Engine Mechanical system.
Here are some more specifics:
1.) Ignition System
The ignition system is the one responsible for creating and delivering spark. Without spark, the engine will Crank but Not Start.
The ignition system of the Ford 4.0L equipped vehicles covered by this article use a distributor-less ignition system. More specifically, it uses a coil pack type ignition system.
In my experience, the most common component failures, of the ignition system that cause a No Start No spark Condition are:
No power to the ignition coil pack.
BAD crankshaft position sensor.
The ignition system components can be tested in a methodical way to find out exactly what has failed (if indeed something has).
2.) Fuel System
The fuel system is the one responsible with supplying the engine with fuel.
The fuel system component that causes the majority of No Start No Fuel problems:
Fuel pump relay.
Fuel pump.
Fuel pump inertia switch (that has activated and has shut down the fuel pump).
The fuel pump (along with the other 2 components) can be tested to make sure it has really fried.