James made 14 of his 25 field goal attempts on Friday night to move on to 12,197 in his career, good enough for fourth place in NBA history having gone past Jordan, the six-time NBA champion who had 12,192.
James ended the game with 35 points and 16 rebounds as the Lakers shrugged off the absence of Anthony Davis to win a seventh game in a row.
Jimmy Butler scored 33 points in a losing effort for the Heat, who had won eight of their last 10 games.
The Bulls, who were 16 points down at one point, fought back to trail by four with just minutes left but the Pacers held on to inflict a sixth-straight defeat on Chicago.
Myles Turner scored a season high with 27 points for the Pacers, while TJ Warren added 17.
Six Pelicans players scored double figures as New Orleans won 123-111 away to the New York Knicks.
Each team still lies second from bottom in their respective conferences, but the Knicks have now lost five-straight while the Pelicans have won two in a row and seven out of their last nine.
Brandon Ingram top-scored for the visitors with 28, while Jaxson Hayes got 18 and 10 rebounds.
Taj Gibson led the Knicks with a season-high 19.