2003 Ford Taurus Code p0320

so this issue didn’t occur till after I replaced my battery. I’ve replaced the crankshaft position sensor , but my car still cranks over and dies shorty after down the road . Any suggestions?

so this issue didn’t occur till after I replaced my battery. I’ve replaced the crankshaft position sensor , but my car still cranks over and dies shorty after down the road . Any suggestions?