Move the "by chance" to be next to "I met him" because that is the part that was a coincidence. Also, if you can, avoid repeating nouns in the same sentence - use a pronoun or rewrite. I met him by chance when he came to Tokyo.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.