If it cranks good but won't start, have a helper crank it while you visually check for spark at the spark plugs. If you have spark everywhere, check for injector pulse.
Check the crank sensor wiring circuits, ref voltage--ground--signal. Some sensors share ref voltage and ground with other sensors. It is possible another sensor that shares those circuits could cause a problem. Check the cam sensor.