I suspect that the trip was for this weekend, but for the future and unless you have lots of luggage, I find that the AirTrain is convenient and inexpensive, costing the price of the LIRR ticket and $5 for the AirTrain which gets you pretty much to any terminal in 10-15 from Jamaica station.