v3.26.1
DESCRIPTION OF BUSINESS SEGMENTS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Changes to Amounts Accrued with Business and Optimization Costs (Details) - USD ($)
$ in Millions
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Business Optimization And Realignment Costs [Roll Forward]      
Business optimization and realignment costs accrued, beginning of period $ (227) $ (155)  
Expense incurred (352) (756) $ (582)
Amounts paid 419 684  
Business optimization and realignment costs accrued, end of period $ (160) $ (227) $ (155)