RJ Barrett banked in a 3-pointer at the buzzer to give New York 108-105 comeback victory over Boston.