service engine light, vdc off, and loss of power. on 2004 Nissan Maxima

I was driving home, when all of a sudden the service engine and vdc lights came on. I immediately loss power as if the trans had went bad. I put the car in neutral to restart the car but it was still running. I pulled over,turned off and restarted the car and was able to drive home at about 10 mph with my foot pressing hard on the gas pedal. This is the first time this has happened. Thank heaven I was not on the highway with the kids. Doing my research as the car has sat in front of the house. I'm scared straight for now. Does anybody have any idea what happened and the remedy.

Asked by for the 2004 Nissan Maxima
your engine management system has seen a fault and now
you are in "limp home" mode. you should find a good local
Japanese specialty shop that has the software to diagnose
this problem. have the car towed; do not chance damaging
your car.
1 more answer
The VDC vehicle dynamics control will come on with an engine fault this is common in many vehicles.We have the Consult II Nissan factory tool give us a call and we can check it for you.This may be a throttle fault causing your problem.