The agreement ensures YES Network remains in Comcast's expanded basic cable tier after a contentious dispute over carriage fees.