STOCKHOLM—Ericsson said Monday it ended a high-profile patent dispute against Samsung Electronics Co. in an out-of-court settlement that closes a string of lawsuits dating back to 2012.

Ericsson, the world's largest maker of wireless network technology, said that specific details of its Samsung agreement were confidential. The Stockholm-based company did say that the deal will boost fourth quarter sales by 4.2 billion Swedish kronor ($652.2 million) and net profit will be 3.3 billion kronor higher as a result.

...