In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man is sitting on the edge of a train track, touching a locomotive'. Replace the letter 'o' with 'k' in the sentence.