NYAS has a shuttle bus between JFK and LGA, cost is $13 and generally takes 20-30 minutes but can take longer during rush hour. State Shuttle has service between JFK and EWR (Newark), check at the Ground Transportation desk for schedule and fare (I believe it's about $30) when you arrive. Travel time on a Friday night can be at least one hour or more.
NYAS has a shuttle bus