Adam Rosales drew a bases-loaded, two-out walk from Giants rookie left-hander Andrew Suarez that broke an eighth-inning tie Monday and lifted the Oakland A's past San Francisco, 5-4.