Is there an ignition shut off for low oil condition? on 1996 Toyota Camry

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
Car shut down while driving just like turning the key off. Now there is no spark.
(3) Answers
Best guess= crank sensor or timing belt. Other possibilities! Crank sensors give more trouble than the dist.
That is the first thing to check then the timing belt!!!