Sounds familiar, a couple of years ago I had similar symptoms.
First the Adaptive Cruise Control said it couldn't work. Stopped, turned off engine, and sometimes it would work again, sometimes not.
Then the power loss, though I could still drive slowly. Didn't notice an engine clunk, but I'm hard of hearing so I miss a bomb exploding. LOL
Went to the Ford Dealership in Redding CA. I think by then I did have an engine code. Long wait to get service so ...
I drove 200 miles back home and took it to my Ford dealer. There was a known problem which they fixed free of charge and gave me a loaner for 3 days during repairs.
(Fortunately it didn't do additional damage to the engine to drive it home.)
Sorry, I don't recall the actual engine problem. I'll try to remember to call them tomorrow and ask them to look up the service record.