In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'old picture of a man dressed in an ninja-like costume and large hat'. Replace the letter 'j' with 'g' in the sentence.