Are you URM? whats your state of residence?
IF you retook and scored above a 510? You have no reason to believe you'd score that high. You sat for the test 4x already and scored sub 500. After 4 attempts, assuming you're using AAMC material, they may not be that good of a predictor anymore because if you reviewed your FLs properly, you could remember some questions here and there even after a couple months of not taking them without realizing it. I'd imagine that there's some content deficit that needs to be addressed on your end.
You only have like 2 more MCAT attempts left forever iirc, you need to change your study habits, scoring sub 500 means there's significant content you haven't mastered yet. Gotta change up whatever you've been doing these past 4 attempts. But lets say your FLs were above 510 and good predictors of your MCAT readiness, tests don't stop after the MCAT. You'll have test, after test throughout medical school, if test anxiety is really causing you to perform this poorly you need to address that, learn strategies to ease your anxiety so that your test scores mirror the hard work you've put in.
I'm not an adcom but realistically speaking I think it's a very slim chance for you to get into M.D. Assuming you can break 500, I think you'd be able to get into D.O with strong ECs
Side Note: Some schools average out MCAT scores. With your previous 4 attempts, assuming you DID achieve a 510 that's still only an average MCAT score of 496.