The grant is part of a $498 million investment announced this week by U.S. Transportation Secretary Sean P. Duffy to modernize 35 port projects across 19 states and strengthen America’s supply chains.