How it worked this year: if you failed the AFOQT and couldn't take/pass it in time for FT, but were selected for FT, you would actually be deferred until the following year's FT. We had this happen to a cadet. We had another cadet who failed the AFOQT, but was eligible to take it again before the last encampment (MAX 5), they took it, passed it, and were able to get slotted to attend MAX 5.
edit: not sure what section you failed, but
here's a website where you can take a full practice AFOQT test online. You just have to register. Or try
here. I also found two practice AFOQT PDFs online. Tried to find them online but not sure where I pulled them from. I'd be happy to send you the two PDFs I have. I failed my AFOQT the first time, but my year was grandfathered in; we just needed to take/pass the AFOQT before commissioning. I took/passed it b/t 300/400 year.