Hey everyone, so a few weeks back I had a shop replace my motor mounts and everything went smoothly even after picking it up and driving it back home, no issues. A few days later I turned on the car and it threw a CEL and after scanning it it was a p0120 and so after inspecting the TPS sensor I found one of the wires had disconnected and ripped off from the connector. No problem, I ordered a new pigtail connector from eBay and it arrived and so I used butt connectors to crimp the wires in the correct positions and then connected it back to the TPS. I turned on the vehicle and it fired right up and no CEL was present, possibly because I had disconnected the battery cables so I could do the rewiring job. So I decided to take the car for a drive and make sure everything was fine and as soon as I pulled out of the driveway in reverse, I shifted into Drive and as soon as I gave the pedal some throttle, the vehicle completely lost power and shut down. Fortunately I was able to steer it towards the curb where I put into park and let it rest. I had no power whatsoever and it had never done this before. About a minute later, the power came back immediately and I was able to crank it over again and this time I was also able to drive it and which I did for about 7 miles and everything was great. Fast forward to this week during the LA wildfires, I got a notice to evacuate and of course I was going to take the Land Cruiser which I packed with a few of my belongings I was able to take. Thankfully our area did not get hit by the fires but it was definitely close. Again when I started the car it immediately died after putting into drive from reverse. Again I pulled it over the curb and this time the power did not come back, it just completely died and so I left it there and took my other car. When everything was safe and we were cleared to return I came back home and tried to start it back up and it wouldn't unless I used a battery jumper. I brought it back into the driveway, inspected the battery and realized it had bloated and after getting it checked at auto zone it failed so I took it to costco and got a new battery. After installing the new battery I started the car back up and it still had some weird electrical issues almost like there wasn't enough power even though my alternator voltage is showing normal signs. After I started the car with the new battery it started to stumble and the RPM's kept dropping. I checked all the connections and everything seemed to be in order. So i decided to disconnect the TPS sensor and the CEL came back on but this time it was performing better and wasn't stumbling and dropping in RPM's but it wasn't great. Then I connected the sensor again and cleared the code and it started to work normally and the RPM's were between 640-680 and it drove normally. I can't understand what could've happened. I'm not sure if my wiring job caused my battery to go bad or if the pigtail connector was faulty but for some odd reason I had an electrical issue that was causing all sorts of problems that fixed itself in the end and I'm not sure if it is even fixed. I'm so confused, any help or input would be appreciated.