A good way to diagnose if the MAP sensor is to blame would be to compare the KOEO (key on engine off) MAP sensor reading on a scan tool with the Barometric pressure reading. They should be the same because they both measure atmospheric pressure.
If the MAP reading is greater than 0.5 volt off of the BARO reading, then replacing the MAP sensor would likely fix the problem. Otherwise, start the engine and observe the MAP reading at idle. It should normally be about 1.5 volts (varies according to altitude).
a. If it is, the problem is likely intermittent. Check all the vacuum hoses for damage and replace as necessary. You can also try wiggle testing the harness and connector to reproduce the problem.
b. If the scan tool MAP reading is more than 4.5 volts, check the actual engine vacuum reading with the engine running. If it is less than 15 or 16 in. Hg, then the PCM is probably not seeing enough vacuum (due to a worn engine, perhaps) for a given operating condition (which causes a higher than normal voltage signal to the PCM) and setting the code. Repair the engine vacuum problem and retest.
c. But, if the actual engine vacuum reading is 16 in. Hg or more, then unplug the MAP sensor. The scan tool MAP reading should indicate that there is no voltage present. Check that the ground from the PCM is intact and also that the MAP sensor connector and terminals are tight. If the connection is good, then replace the map sensor.
d. However if, with KOEO, & the MAP sensor unplugged, the scan tool shows a voltage reading, then there may be a short in the harness to the MAP sensor. Turn the ignition off. At the PCM unplug connector and remove the MAP signal wire from the connector. Re-attach the PCM connector and see if with KOEO, the scan tool MAP reading shows voltage. If it still does, replace the PCM. If not, check for voltage on the signal wire you just removed from the PCM. If there is voltage on the signal wire, find the short in the harness and repair.