A close encounter with the cosmos unfolded over Puerto Rico and the Dominican Republic as a small asteroid blazed across the sky, according to astronomers.