4e had 26 classes each with their own powers vs 5e has 12 classes,13 in November when Artificer is officially released. Its also likely Psion gets released in a year or 2 and I think the Blood Hunter and possibly the Warlord will become an official D&D class next year based on the survey WotC released where Blood Hunter and Warlord are offered as favourite classes in the D&D official survey.
So yeah 4e has way more options in customizablity and diversity in power choice then 5e, heck 4e didn't last long as 5e, but far, far more player content was released for it, BUT AEDU creates the impression of sameness in the structure of classes (aside from essentials) and some powers were alot alike, 4e powers between classes suffered from redunancies. Classes in 5e may share some spells, but most of the classes are, structured very differently.
Also battles could take a very, very long time in 4e, 4e makes for a great tactical war game in my opinion, but 5e focuses more on Role Playing, with combat being quicker and more effiencient.