Red Sox avoid sweep with 6-4 win over A's

Xander Bogaerts hit a three-run homer, J.D.