(AP) — Derek Jeter ended an 0-for-28 slump that was the second-worst of his career, and the New York Yankees beat the Tampa Bay Rays 3-2 Wednesday night. The retiring Yankees captain lined a single off Alex Cobb leading off the sixth inning. Chase Headley and Brendan Ryan hit run-scoring doubles in the fifth that put the Yankees up 2-1. Brett Gardner hit a bases-loaded sacrifice fly in the sixth that was caught by a leaping Wil Myers at the right-field wall. A day earlier, Jeter was hit on the left hand by Steve Geltz in the eighth, then Yankees reliever David Phelps was ejected in the bottom half for throwing a tight pitch to Kevin Kiermaier.