why is engine stalling sometimes but my (c.e.l) not on on 2005 Chrysler 300

car turns on and shuts off, or it will not crank then sometimes it turns on and stays on. took car to get diagnostic test they get no code because (C.E.L) not on all the time only when it doesn't crank

Asked by for the 2005 Chrysler 300