Lin's finished with 27 points and 11 assists to help the Knicks post their sixth straight victory.
Lin has racked up 136 points in his first five games as a starter -- besting the previous modern-era NBA mark of 129 held by Shaquille O'Neal.
Amare Stoudemire returned from a four-game leave of absence, to mourn the death of his brother, and contributed 21 points and nine rebounds for New York.
Jose Calderon had 25 points, nine assists and seven rebounds for the Raptors, who fell for the fifth time in six games. Linas Kleiza had 15 points and 11 boards for Toronto.
Notable deaths of 2014 [PHOTOS]