Help us out a bit.
You say it "won't stop running". I get that the tank reaches the height at which it should shut off and the valve doesn't shut off. But I need more info to help you.
When it "keeps running", does the water rise above the top of the overflow riser and go down that riser? Or does the tank fill and "keep running", but the tank doesn't overflow. Big difference in issue depending on the answer to that question.
Give us some more description and we'll help you get it fixed.
(The numbers you describe are the numbers for various flappers that would work in that toilet. Don't go get one of those; we'll give you a better solution if the flapper is the problem.)
Also, look at this fill valve servicing piece and tell me which fill valve type you have, Type A or Type B. Thanks! Link to Fill Valve Servicing Piece