Welcome to JustAnswer, my name is XXXXX XXXXX I'm here to help get your problem resolved. Ask follow up questions, thanks.
Do you know the fault code? There are multiple sensors that go to the ecm. Thanks.
This code is usually caused by a failed crankshaft position sensor....possibly wiring or camshaft position sensor, I'd start by replacing crank sensor. Here is a picture of sensor on transmission housing, let me know if you have questions. Thanks.