ST. PETERSBURG — Things were looking down yet again for the Rays much of Sunday afternoon.Their top starter, Charlie Morton, walked off the mound in the third inning with something hurting in his shoulder. Their bats were once again quiet, to the point of concern, as they trailed by three. The constant weekend-long chirping from the Yankees dugout was starting to wear on them.Then things changed dramatically.First, the Rays got even, on seventh-inning home runs a pitch apart by Mike Brosseau and Brandon Lowe.Next, they got the win, 4-3, their third of the four-game series, on a two-out, ninth-inning walkoff single by Michael Perez, his first hit of the season.And then, maybe best of all, they got the last word.“It’s pretty frustrating to have them think you’re not able to chirp, say anything back to them,’' Lowe said. “They’ve been doing it the whole time. For us to not be able to do it back, it’s a little childish. You gotta wear it. If it’s going to happen, just wear it.’'Lowe’s look into their dugout as he crossed home plate in the seventh seemed to deliver that message. Rays catcher Mike Zunino made sure it was clear as his rebuttal to the Yankees sparked a spirited — and somewhat audible — exchange across the field.Among pitches they considered too inside and other things, the Yankees had been mocking the Rays whenever pitching coach Kyle Snyder or a catcher went to the mound, with something that sounded like “Go check on him.’'So after the Yankees left in starter James Paxton, who through six innings had allowed only a single, and he gave up the back-to-back homers in the seventh, the Rays responded with similar commentary, which was not well received.“They’ve been chirping the whole weekend, we chirped out once, and they kind of got upset about it,’' Lowe said. “Really, the whole thing of it was they’ve kind of been loud about everything, we did it back, and they didn’t like it.’'Huh, guys from New York being loud, boisterous and not liking any back talk? Who knew?As much as the Rays enjoyed the bragging rights — at least for now, as these AL East teams tangle six more times in the coming weeks, and maybe again in October — the result was more significant.In taking three of four, the Rays (8-8) halved the Yankees’ division lead to a quite manageable two games, with 44 games left on the 60-game schedule.Especially given how it looked earlier in the day, as falling behind 1-0 in the first inning wasn’t close to the worst of it.“There’s not anybody in our dugout that felt very good knowing that Charlie is walking off the mound in the … third inning,’' manager Kevin Cash said. “That’s deflating. There’s no way around that.“It took us a couple innings to get going, but the guys, they stayed with it. Give them a ton of credit for the resolve they continue to show.’'The seriousness of Morton’s injury wasn’t immediately clear.He said he felt some tightness in his shoulder earlier in the game, and he didn’t argue in the third when the Rays took him out, providing an initial diagnosis of inflammation, pending further medical evaluation.Morton, 36, knows his body well, given a litany of previous injuries during his career, and seemed confident this issue was “manageable.” He said he is “not worried about missing much time.” Given the Rays’ cautious nature with pitchers, especially one of their most valuable, a short stint on the injured list, at the least, would seem a reasonable expectation.Trevor Richards did a good job replacing Morton, though the Yankees expanded the lead to 3-0 in the fifth. Richards allowed two hits, then a two-out Gio Urshela drive to deep centerfield was misplayed by Manuel Margot, who just rejoined the team following the death of his father last week.The Rays finally got going in the seventh. With Jose Martinez on second, Brosseau jacked an 0-2 Paxton fastball to left. Lowe said he knew “going up there and trying to hit a homer” wasn’t going to work, so, of course, on the 0-1 pitch he did.The Rays had a prime opportunity they couldn’t convert in the eighth, but with just called-up reliever John Curtiss and rookie Ryan Thompson holding down the mighty Yankees, they got another shot in the ninth.“We won the game,’' Cash said, “because they kept it where it was.’'Brosseau led off with a double. A fielder’s choice out at third, a wild pitch, a Margot walk and a Willy Adames grounder to first had Lowe on third, Margot on second and Perez at the plate against Britton. It was an unfavorable lefty-on-lefty matchup that the Rays couldn’t do anything about since Zunino was already out of the game and third catcher Kevan Smith had been dropped from the roster.Perez, who celebrated his 28th birthday Friday with a pinch-hit sacrifice fly in the eighth for a 1-0 victory in the series opener, said he was just trying to put the ball in play. His mates were watching. Cash was hoping.“You can try to be as smart as possible and make the right moves,’' Cash said, “Sometimes they work, sometimes they don’t and sometimes … Mikey made us look all right.’'The Yankees might want to go check on that.