how to distinguish between good tomatoes and bad tomatoes
distinguish を使っても言えますが、この場合は to distinguish between A and B のような言い方をします。
ーhow to distinguish between good tomatoes and bad tomatoes
「美味しいトマトとそうでないトマトの見分け方」
ですが、次のような言い方をした方が自然です。
ーThe lady at the fruit and vegetable stand told me the best way to select good tomatoes.
「八百屋のおばさんが美味しいトマトを選ぶ最善の方法を教えてくれた」
the best way to select good tomatoes を使って言えます。
ご参考まで!
How to pick a good tomato.
How to tell if a tomato is delicious.
「良いものを選ぶ」という意味での見分け方は、 How to pick a good tomato. (おいしいトマトの選び方/見分け方) と言うのも自然です。
pick は「選ぶ」という意味ですが、多くの選択肢から良いものを見つけ出すというニュアンスでよく使われます。