The logical thing to suspect is a wire harness issues or connectivity issues at the fuses or relays. Don't get to overly focused on the actions that trigger the symptoms, and fail to start at the beginning with basics, testing and inspection. Unplug the A/C compressor and see if that cures it. Pull all the A/C fuses and relays, see if that cures it. Make sure ALL of the ground connections are clean and snug. Inspect the connections of the backside of the fuse box and the relays.
PCM failure is very highly unlikely. Unless all the more common and logical cause for the symptoms have been tested, inspected, and eliminated, throwing a PCM at the problem is just like throwing any other parts at an undiagnosed problem, it seldom works. If one has access to a known good PCM, or can purchase one for a reasonable cost, there is no harm in testing the PCM by replacement.