Hi again. It could be a few things. However, I will provide some general directions you can follow to check what is creating the issue.
First, remember it takes spark and fuel to make the engine run. One is most likely failing since it is intermittent. Here is what I need you to do: When the engine fails to start, you need to check if it is spark or fuel pressure that is missing. A very simple way to check is by seeing if the engine will start and run a couple seconds using starting fluid. If it does, then the engine isn't getting fuel. If it will not start with starting fluid, then it is spark/ignition related.
Here are links to help you through the process for checking if you do not want to try the starting fluid technique:
https://www.2carpros.com/articles/how-to-check-fuel-system-pressure-and-regulator
https://www.2carpros.com/articles/how-to-test-an-ignition-system
To answer your question, yes a bad crankshaft position sensor can cause this problem. However, I do not want to guess until we know for sure what system is causing the issue.
Let me know what you find or if you have other questions. I am here to help if needed.
Take care,
Joe
Monday, June 11th, 2018 AT 6:39 PM