direct commission after college

what best route to get direct commission with Air Force or Army?

The ROTC students in my daughter’s class were commissioned in a special ceremony a day before graduation and wore their uniforms instead of cap and gown. I believe four branches were represented.

If you’re failing courses I’m not sure it’s possible. How close are you to getting a degree? How many courses do you have to retake?

Why don’t you contact a recruiting office for both branches and ask?

Based on prior experience, I recommend that you not contact a recruiter until you read the following, and then if you decide to apply follow the instructions given. Local recruiting offices are generally set up to recruit enlisted members, not officers. EDIT: The programs below are designed for candidates who alreay have a bachelor’s degree.
OCS Army and Air Force
https://www.goarmy.com/careers-and-jobs/current-and-prior-service/advance-your-career/officer-candidate-school.html
https://www.airforce.com/education/military-training/ots

Also maybe ask here as well: https://www.serviceacademyforums.com/index.php?forums/ots-ocs-plc.64/