Xterra will not ignite. changed distributor/fuel filter/distributor plugs. on 2002 Nissan Xterra

Need help in getting vehice started. open to all suggestions. no cloggin in fuel filter, fairly new battery, connections to battery warning lights on. i was just driving about 65mph and it just stalled out. No warning or no prior warnings/activity. changed distributor/and plugs. engine turns over but it s not igniting.

Asked by for the 2002 Nissan Xterra