After 18 months of negotiations, the United States’ secretary of state and Japan’s foreign minister confirmed the decision, holding simultaneous televised ceremonies linked by satellite relay.