Ben Affleck is set to join Michael Keaton in returning to the role of Batman in ”The Flash.”