He will take over in both red and white-ball formats