In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a young boy swings his bat as the baseball comes flying towards him'. Replace the letter 'y' with 'r' in the sentence.