Swiss legend Roger Federer survived an early scare against the American Frances Tiafoe at the Arthur Ashe stadium late Tuesday, before coming back to win 4-6, 6-2, 6-1, 1-6, 6-4.