The P0176 Flex Fuel Sensor Circuit code.which codes?
Then emulator or PCM is bad
Emulator site should have tests for their product
1999/2000 Rangers used a separate PATS module, 2001 and up had PATS in the PCM
But I think you can use Forscan software to pair up the PATS module and new PCM
You can for sure do it on 2001 and up
There is a Forscan forum, you could join and ask
Or see if someone else has tried swapping out 1999/2000 Ranger PCMs
Forscan runs on a laptop and you need an adapter cable, USB to OBD2, to hook it to vehicle
Its like an OBD2 reader on steroids, lol, lots of stuff you can do