Roughly where on the south shore, and where in NYC ?.
Different suggestions depending on Queens to north Manhattan, or thru the Rockaways and Brooklyn to lower Manhattan.
Here's a 45 mile one-way Ride With GPS route from east Massapequa Park to the Brooklyn Bridge in lower Manhattan.
http://ridewithgps.com/routes/1315662
SB