INCOME TAXES (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
May 31, 2025 |
|
| Income Tax Disclosure [Abstract] | ||||
| Effective income tax rate | 20.70% | 15.70% | ||
| Non-cash deferred income tax benefit | $ 133 | |||
| Total gross unrecognized tax benefits, excluding related interest and penalties | $ 969 | $ 1,026 | ||
| Total gross unrecognized tax benefits, excluding related interest and penalties, amount which would affect the Company's effective tax rate if recognized in future periods | 753 | |||
| Accrued interest and penalties related to uncertain tax positions (excluding federal benefit) | 433 | $ 376 | ||
| Estimated decrease in total gross unrecognized tax benefits as a result of resolutions of global tax examinations and expiration of applicable statutes of limitations | $ 234 | |||