Five suspects have been formally charged over the truck attack in the French Riveria city of Nice that killed 84 people, the Paris prosecutor said Thursday.