3G Capital, an investment fund, will own 51% of the new firm. Former stockholders in Tim Hortons and Burger King will own the rest.