Comcast Corp. subscribers later this year will be able to watch Netflix video content through the cable giant’s latest cable boxes, uniting the two companies in their pursuit of more customers after years of contentious disputes.

Following years of on-and-off discussions, the two companies confirmed they have reached an agreement to let paying Netflix subscribers access the service through Comcast’s next-generation X1 set-top box.

...