OK HERE IS A TEST TO DO FOR THE CODE57
HERE IS ANOTHER COMMON TROUBLE THAT MAY CAUSE THE PROBLEMS YOU HAVE
Had trouble with MAP Sensor before and replaced both sensor and pigtail. Engine runs fine but has idle that goes up and down. Check engine light will go out while driving. Truck snatches at that time like going into another gear.
well i hate to say it but with all the different codes you have and all the syptoms , it seems you have a bad pcm
the idle fluctuating up and down is very likley a bad pcm