U.S. ports from Maine to Texas could shut down Tuesday if a union representing about 45,000 dockworkers carries through with a threatened strike.