The United States and Venezuela signed a military cooperation agreement during a visit by the United States Secretary of Defense Pete Hegseth to Caracas.