Yeah, that sensor might be aftermarket but it's not going to cause that code. Code is for throttle body or throttle pedal. If the throttle valve is sticking, that might cause it. Cleaning is worth a shot.
As for that maf sensor not working properly, I had one that wasn't reading ambient air temps properly causing it to run like crap and hard to start when cold or hot(I forgot which). It didn't throw a code but was easy to see while monitoring ambient air temp on the scanner. It was nowhere near actual outside temps. Or maybe it was reading air intake temps, I really can't recall. Either way it wasn't displaying accurately. I think there might be a seperate air temp sensor on the bumper rebar??
View my fuel log 2014 Mirage SE wussie cvt edition. 1.2 automatic: 37.7 mpg (US) ... 16.0 km/L ... 6.2 L/100 km ... 45.3 mpg (Imp)