I found this online note- it described and fixed my problem.
from https://www.engine-codes.com/p2097_mazda.html
Tech Notes
Some 2007-2009 Mazda CX-7, 2007-2009 Mazdaspeed3, and 2006-2007 Mazdaspeed6 vehicles may experience hesitation or surging when accelerating after engine warm-up. These...
Alright guys I'm super new here actually first time on posting in a forum lol. So I've been having an intermittent super rich condition usually when turning in 2nd gear my afrs are around 8.6 to 9.2 and my fuel pressure is around 1700 to 1800. I replace the wiring harness and that worked for 2...