I'd get the subway train into downtown. It takes about an hour on the Blue line from the station underneath the terminals to downtown. Then you have two hours downtown to walk around, have lunch, etc before you have to get the train back. I suppose if you have lots of carry-on luggage then it won't work, but if your bags are checked then I think you have enough time to head into the city.