The A's will play their final season in Oakland in 2024 before temporarily moving to Sacramento.