For Thomas Dooley, securing the job as chief executive of Viacom Inc. might be the easy part. Fixing the struggling media company will take more work. Late last week, as part of a legal settlement to end a messy boardroom fight with Sumner Redstone and his family, Viacom’s board elevated Dooley,...