The following options may help you decide which way is best for you:
AirTrain + Subway (A Train at Howard Beach or E Train at Jamaica station) costs $7.25 and takes approximately 1 hour.
NYC Airporter Bus services to Penn Station, the Port Authority Bus Terminal and Grand Central Station in Manhattan.
Shared Ride Service arrangements can be made with any customer care representative in the Port Authority’s Welcome Centers located in each terminal.
NYC Yellow Taxi has a $52 flat rate (plus a toll) and a tip to any Manhattan location. Expect a minimum of one hour travel time, depending on the time of day and traffic.