i have a 2005 exterra while drivingits just shuts off & vdc and slip light stays on 2005 Nissan Xterra

on when i restart it.

2 answers
get your alternator and battery tested.
do you have any codes,if so post so we can adv