AP source: Cowboys agree to hire Mike McCarthy as coach, succeeding Jason Garrett.