A 15-year-old boy who was the subject of an emergency alert in New Brunswick has been arrested.