I'd start by getting or borrowing a code reader and seeing what codes were recorded in the ECU when the engine light went on. Maybe it's cruise control related, maybe it's just coincidence and nothing more that the cruise control was on.
One fairly common cause of cruise control problems on these Fords is the brake pressure switch that disengages the cruise control; the seals in the switch can wear out over time and brake fluid work its way in and cause problems with the switch contacts. I think the usual result is the cruise control just doesn't work, but not the engine light coming on. (It can also lead to fires, even when the vehicle is parked and turned off; there was a wide-ranging recall to prevent that from happening.)