Hi pjriss - I suspect the cord you are seeing is to provide power to your roof mounted Air Conditioner, from the Converter, which is mounted in the bottom half.
I can only guess about the switch. Does it "enable" the bathroom lighting, an outlet in there, or, possibly control the porch light by the door?
- Jack