A person with knowledge of the deal said Thursday that New York Knicks restricted free-agent guard Jeremy Lin and the Houston Rockets have agreed to terms on a four-year contract offer. The person told The Associated Press on Thursday on condition of anonymity because the team hadn't officially announced the deal. Lin can sign the offer sheet with Houston on July 11, and the Knicks will then have three days to match the offer.