We determine the band alignment of ScxAl1-xN/GaN heterojunctions at ScN alloy fractions ranging from x = 0.04 to 0.20 using x-ray photoemission spectroscopy, and determine the band gap from spectroscopic ellipsometry. We find a transition from straddling to staggered gap as ScN alloy fraction increases, and show that the experimental results are consistent with first-principles calculations. This crossover from type-I to type-II band alignment shows a degree of freedom for engineering improved heterostructures in ScAlN/GaN-based electronic and optoelectronic devices.