In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a cow standing by a small barbed fence with a kid nearby'. Replace the letter 'b' with 'n' in the sentence.