Tayvon Gray scored on a header in the ninth minute of second-half stoppage time to lift New York City FC to a wild 2-1 victory over the 10-man Philade