The justices will be wading into uncharted legal waters to hear a case that could have sweeping ramifications for the 2024 presidential race.