Hi crubino,
If the engine cranks and won't fire up, you need to confirm if it is fuel or electrical related.
If it is fuel, check the main relay for power output to fuel pump when ignitiionis turned for 2 seconds or while cranking.
When problem occurs, does check engine light goes off after 2 seconds when turning on ignition switch?
If it cannot crank, check battery terminals, starter and ignition switch.