Check the LIRR schedule before you buy the airline tickets. There is a gap in westbound service in the late afternoon (rush hour from the city takes up the available tracks). You may want to arrive earlier or later in the evening so you don't have to wait so long for a train.