A dockworker at APM Terminals and a Maersk Equipment Service official were charged with conspiring to distribute more than two tons of cocaine through the Port of New York and New Jersey.