A gunman has been arrested after a shooting at a Mardi Gras parade left one dead and four injured, including a young girl.