LeBron James finished with 36 points and five fourth-quarter three-pointers in delivering the Lakers a victory at home over the Spurs.