Marbury and Channing Frye each finished with 16 points for the Knicks, who won for just the second time in eight games. The untimely slump had dropped them two games behind New Jersey for the eighth and final playoff spot entering Wednesday's games.
LeBron James scored 24 points for the Cavaliers, who had a chance to tie the game at 94, but Zydrunas Ilgauskas made only one of two free throws with 34 seconds left. The Knicks ran the shot clock down before Marbury launched a 3 from the right side that seemed ready to bounce out before falling in, sealing New York's much-needed win.
Sasha Pavlovic added 20 points for the Cavaliers, who fell three games behind Detroit for best record in the East. The Cavaliers, who clinched a playoff berth Tuesday, fell to 1-1 on a five-game road trip.