Car died during driving

Focus on "no lights" first since that is simpler to diagnose. Have a voltmeter ready (free w/ coupon at HF in U.S.). Headlight feed is "always hot", from red BAT wire thru firewall, thru ammeter, to ALT wire under-dash as I recall, but check wiring schematic. That is upstream of the key switch, so if you don't have lights, the whole starting circuit will be un-powered.

Re NSS, those rarely fail. More commonly, the transmission truly is not in P or N, due to slop in the shift linkage, so the NSS is doing its job protecting you.