Sweeney scores on squeeze as BoSox and Yankees tie