Notre Dame WR Javon McKinley is about to be off the hook in his drunken cop-punching case ... TMZ Sports has learned the Irish stud just struck a deal with prosecutors to have his charges dropped.

We broke the story ... McKinley -- a SUPERSTAR back in his high school days -- allegedly battered 2 officers in a drunken attack near ND's campus last February.

Cops say they were dispatched to help McKinley, who was passed out in the back of an Uber at 3:50 AM ... but he became combative when they tried to give the assist.

Cops say as they were walking McKinley -- who they say reeked of booze -- back to his dorm room, he freaked out, punched a male and a female officer and tried to flee.