2007 Escape Hybrid

Bought car…drove about 100 miles. Shut if off and then it would not start.
Three ford dealerships later…same problem.
When it wont start, it doesn’t do anything…no sound, no whirl. You can let it sit for awhile and sometimes it willl start, sometimes not. It can sit for 2 hours and still not start.
The last time it wouldnt start, there was no error on the computer but the service soon light was on.

1. Battery in good shape
2. Had water pump replaced. didnt fix
3. Had crank shaft sensor replaced. didnt fix

HELP!! any suggestions appreciated.