What inuvik said... plus there’s another connector under the driver seat I’ve had corrosion at too. It looked like a capped off connector.
I read your original post again and now it sounds similar to a Nissan NV200 the dealer and I struggled with. Driver was driving down the highway and out of the blue had no throttle response. They just pulled over turned it off and restarted then carried on. I did get a stored code for throttle position I believe? Took it to the dealer, they couldn’t get it to act up. A week later it did it again, took to dealer they changed the throttle body. Was running good for exactly a year, then exact same problem re appeared. Becoming more frequent everyday, took to dealer and they kept it for a month or two. In the end they replaced the entire wiring harness from the throttle body to the ecm.
It wouldn’t hurt to take a peek at the throttle Body connector. It’s weird that it will only rev when it’s not in gear. More so that you aren’t getting a code.
My mom says I'm cool
View my fuel log 2014 Mirage SE wussie cvt edition. 1.2 automatic: 35.5 mpg (US) ... 15.1 km/L ... 6.6 L/100 km ... 42.6 mpg (Imp)