A’s ride two-run fifth to 4-2 win over Rangers