The boy fell off the top of a northbound G train and onto the tracks near the 4th Avenue-9th Street Station in Park Slope, authorities said.