Car died while driving, won't start at all- cranks but won't fire. on 2002 Hyundai Sonata

2yrs ago had problems w/slow starts & acceleration- especially in cold/damp conditions. Replaced PCV, fuel filter & pump, all good for a few wks, but eventually replaced solenoid. All worked great till yesterday- died while driving, won't restart at all. Any ideas as to what it is now?

Asked by for the 2002 Hyundai Sonata
Sounds like there may be problem with the crankshaft position sensor. That is assuming that the engine will turn over but not start up. That would be the first area I would check.