I verified with an oscilloscope on the ECU pin while the surging was occurring that the relay output was constant and that it wasn't triggering by feeling it while running.
I then unplugged the sensors, trying to force the issue not to occur.
At first, I unplugged:
AFM
TPS
All temperature-related sensors
IAC
1/2 O2 sensors.
2/6 Injectors
The engine ran, and I was able to make it around the block. I do not think it was making enough power to have the problem occur but it was able to rev past 2k on flat ground. I pulled the injectors as I was suspecting their connectors to be inconsistent.
I next plugged back in the injectors and AFM, as that was the main cause of not making power and not running right.
After doing another loop around the neighborhood, the problem occurred even with no temperature sensors, no TPS, and no IAC. As soon as the problem started, I pulled over and disconnected the AFM. The problem was identical to before, now just with black smoke coming out of the exhaust. I plugged it back in after this and pulled the connector of the most suspect injector.
The problem went away temporarily. I would describe it as delaying the onset. I had the problem occurring, pulled other sensors, it still occurred, I pull the #1 injector connector, and the problem goes away for another 1/4 mile. I was able to rev past 2000 RPM. Unfortunately, when I got back to the hill, it still occurred.
After this, I swapped to the other O2 sensor and immediately got the problem after the normal amount of driving needed to cause the problem after the car was already hot.
Pulling the injector after this to confirm my test did not show any changes. On one of my test drives, I was able to get through the surging band and past 2000 rpm. After it was through, it made good power and ran well until it upshifted and was back into the problematic RPM band (~1500-2000). Reproducing this was difficult. I tried forcing a downshift on a downhill, and it would not go above 2000 rpm.
Pulling the injector stood out to me as I believe it will cause all other cylinders to run richer as the fuel trims are adjusted. (Assuming the O2 sensor works).
Any ideas? I'm not sure if pulling the injector and being able to push through the RPM band was just a fluke.
Thanks for the help.