My 2005 Maxima did the exact same thing. Figured it was was the alternator since battery totally died and alternator check came back bad.
Car started and drove, but lacked any kind of power, also tach wouldn’t get passed 2100rpm until speed was faster than 30mph and then seems to perform almost normal. At this point no MIlS were on. Got home, parked it, checked the trans fluid, it was low.
Got back in to restart and this time all the lamps were on: Slip, TCS and check engine soon.
So i drained the trans fluid and added till full (with Nissan fluid of course). With the engine running and parked I ran through the gears and kept rechecking.
But then all of sudden then engine cut off and hasn’t been able to restart since.