Tom akan melewati Boston dalam perjalanan mengunjungi Mary.

English Translation

Tom will be driving through Boston on his way to visit Mary.

As per my review comment, the author on Tatoeba updated the Indonesian sentence:

OLD: Tom akan melewati Boston dalam perjalanan mengunjungi Mary.
NEW: Tom dengan mobilnya akan pergi melewati Boston dalam perjalanan mengunjungi Mary.

Reason: “melewati” means “to pass by” and “mengunjungi” means “to visit”. It can be done by airplane or ship.