SAN FRANCISCO — Seeking a wider digital audience, Verizon is buying Yahoo for $4.83 billion in a deal that marks the end of an era for a company that defined much of the early internet but struggled to stay relevant in an online world dominated by Google. It's the second time in as many years that Verizon has snapped up the remnants of a fallen internet star.