if crankshaft sensor is bad would that cause a heitation in vehicle on 2004 Ford Mustang

2004 mustang 3.9l engine hesitaion at top of pedal and when excelerating put injector cleaner in tank and changed gas filter. no codes thought might be clogged injector woul faulty crank sensor cause this problem

Asked by for the 2004 Ford Mustang