The bad news is yeah your odds are bad, far from nonzero though. It seems like you have a genuine interest in the specialty, and I'd hate to see someone give up something they're passionate about over some board examination Pajama Sam bs. As a general rule of playing to win, ignore things you can't control and keep playing until you lose. You can't retake it and nobody knows how it will be treated as far as reporting scores as far as pass/fail is concerned, probably nothing will change.
The best data that I could find was a
study in the JAO that looked at 2013/2014/2015 match data, the odds of someone matching with Step 1 score less than 217 was 39%. Not great, but could be worse. The probability of an IMG matching with a step 1 score greater than 239 was 27%.
You shouldn't base your odds on those statistics, first of all it would be inaccurate to do it on a single metric. Second it doesn't matter if your chance is 9% or 90%; not matching is going to sting the same.
With the information in the thread and looking at the research, you have literally everything else going for you. You might find
this article encouraging. A very good step 2 can only help. The average match step 2 was 246, average unmatched step 2 was 230. There's very little data published on step 2 scores and matching that I've come across but I didn't exactly dig deep. To briefly summarize it:
You got to a top 25 medical school which is associated with 1.4 times better odds of matching.
You presumably go to a top 40 NIH funded medical school which is associated with 2.25 better odds of matching.
You've done research in what I'm assuming is ophthalmology and thus have a program associated with your school which is associated with 1.4 higher odds of matching.
The data isn't clear on how much having publications helps but there's data showing that IMG's odds increased 3 fold if they had research published in a high impact journal.
As for what you should do?
Get a good adviser that can help you navigate this. You'll probably want to mingle in the ophtho forums. I don't know if it's possible for you to get in the AOA despite your Step 1 score, but definitely gun for that if it's in the cards. I've never heard of the Gold Humanism Honor Society but the AAO mentions it, there's no data showing it'll help but take all the ground you can get. If you aren't in a student eye-balling interest group, join one. Talk to an adviser who is in the know.