So there are a few things that could be causing your issue. First, I would suggest pulling the check engine codes (if there are any). Below is a link with more information on how to do that.
The next link is a list of other possible issues that could be preventing the car from starting.
Next, is a crankshaft sensor link.
It does sound like it could be a crankshaft position sensor, but I would follow the testing suggestions in the links I gave you before you spend the money on the part!
Keep me posted on what you find, and let me know if I can be of any more help.
Saturday, October 27th, 2018 AT 1:57 PM