I am not sure that 5e will fix the problems that 4e faced with regards to roleplay because it has similar dynamics in terms of the combat style to 4e which may attract a similar player base. I think that is the biggest difference between the editions not so much the mechanics of the game itself, but of the player type that is attracted to each rule set and what their expectations out of the game are (especially since 4e was meant to capitalize on the popularity of mmorpgs). In my opinion if you're looking for hardcore roleplay 3.5/pathfinder is where the action is at because the player base is older (generally) and thus more interested in the storytelling aspects both because of appreciation for that sort of thing as you get older and because they remember "old school" d&d when the rules went along with a fantasy genre culture of the late 80s-mid 90s (especially in 2.0 the rules were more fast and loose meant to aid the development of interesting adventures). However, with that said I would definitely give 5.0 a chance because it does include dynamics that allow the dm to reward roleplaying (or "punish" the lack thereof more readily). In my opinion, 4.0 was fine. I enjoyed playing it and would compare it to a movie that you enjoy watching once through because it is a good adventure, but you realize objectively it may not be "oscar worthy." In my opinion 3.5/pathfinder can sometimes be a bit too slow paced for my liking and/or pedantic, however I tend to enjoy using my character actively (ie changing the gameworld dynamically not just roleplaying an action that adds ambiance, but has no effect) and tend to be a bit of a min/maxer so take my words with a grain of salt. Best of luck in your decision.