Hi,
Unfortunately, we will need to limit this down a little bit. An engine needs compression, ignition at the right time, and fuel in order to run. Since it was running and just shut off we can assume safely that you have compression, that leave fuel and spark.
Try spraying some starting fluid in the intake and see if it fires for a couple seconds. If not, pull a plug and confirm you don't have spark.
Also, it may be worth while to pull codes. You could just be locked out by the security system. I don't think the fuel cap light is related. However, you hopefully have some codes that can point us in the better direction. If you can't pull codes, any parts store should be able to get them for you.
Based on what you find we can go further.
SPONSORED LINKS
Friday, July 12th, 2019 AT 6:59 PM