The USS Vincennes shot down the passenger plane on July 3 , 1988 , shortly after the aircraft took off from the Iranian city of Bandar Abbas for Dubai in the United Arab Emirates .