A late header from Matt Miazga helped the United States claim top spot in their CONCACAF Gold Cup group.