LeBron James tied his playoff career high with 49 points, Chris Bosh made the tie-breaking 3-pointer with 57 seconds left, and the Miami Heat beat the Brooklyn Nets 102-96 on Monday night for a 3-1 lead in the Eastern Conference semifinals.

(Elsa, Getty Images Sport)

James carried the Heat nearly the entire way until Bosh hit the shot that put Miami ahead for good. Ray Allen followed with four free throws and James finished it off with one more, putting the Heat in position to wrap it up at home Wednesday in Game 5.

James was 16 of 24 from the field and 14 of 19 from the free throw line in matching the 49 points he scored for Cleveland against Orlando in the 2009 Eastern Conference finals. He missed his second free throw with 1.1 seconds left, muttering to himself after it fell out.

Joe Johnson scored 18 points for the Nets.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.