If you want to do Brooklyn, I would take the Airtrain to Howard Beach, (I'm not sure about the T-5 Bus) Take the A train to High Street / Brooklyn Bridge (about an hour transit time) Then walk around Brooklyn Bridge Park and the Promenade.
Manhattan is right across the bridge, so if you tire of Manhattan, just cross the bridge.