How old is your focus.. I had the same problem near when mine was new. I took it to the dealership and they "checked over the car"(plugged it into their computer) and found nothing wrong however I noticed they upgraded the
ECU software and I have never had a problem since... Just my experience with it.