Have you replaced the Smog Pump(Air Injection Recirculation pump) and the Diverter Air management valve on your Tacoma?
My 2012 had it replaced for free by Toyota in 2019. Even though it was over 60K miles. Two weeks ago the Check Engine Light and the Traction Control light both came on. Checked the gas cap and disconnected the negative battery. It went out for a day or two then came back. I went to Autozone and had it tested. Smog Pump and Diverter Valve came up in the codes.
This will be the first money I ever put into this truck other than gas, oil, wipers, tires. I just replaced the front brakes last year.
Those are still original.