It does have DPFE sensor, not connected to EGR valve, it has two Hoses on the EGR pipe to exhaust manifold and is connected by 3 wires to the computer
Ford moved it around but here is a picture of what it looks like:
https://bob-ayers.smugmug.com/photos/124318500-L.jpg
2 hoses and a 3 wire connector
Is the new IAC Valve a Motorcraft or Hitachi brand?
If not then that could be the problem
Other 3rd party brands can work for awhile but can be unreliable because they are "stepper" type, and Rangers use solenoid type
P0172 System too Rich (Bank 1)
P1132 Lack of Upstream Heated Oxygen Sensor Switch - Sensor Indicates Rich - Bank No. 1
When you have one bank(side) of a V6 engine or V8, showing O2 sensor code or 2, it can mean the O2 sensor is at end of life
They do wear out after 150k miles or 10-12 years
Its possible if Damper was leaking and fuel was being sucked in you could get Rich code on just one side of the engine, if you have cleared the codes and they came back after the damper repair then I would change both upstream O2 sensors if they are close to 10 years old
You could have a leaking injector on passenger side(bank 1) as well
Whats the MPG like recently?