Yes. But its not easy. You can take the AirTrain to Jamaica Station, then the LIRR into Penn Station (or better yet, Flatbush Avenue). From there you can connect to the subway.

You can check out...