Q: engine cuts out with ac running on 1998 Ford E-350

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
Just drove from Denver to Tucson and had to drive w/o the ac because when it was on, the engine kept cutting out at random times while on the freeway. When the ac was off, there was no problem. The 'service engine soon' light is on, but was wondering if this might be simply answered? Thanks.
(1) Answer
There's rarely a simple answer when the service engine soon light is on. The possible reasons are listed here:

A problem in your emission control system would explain your symptoms.