In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a railroad crossing with a stop sign and a building in the background'. Replace the letter 'g' with 'i' in the sentence.