Hi Mehrdad,
No, they can’t be used interchangeably. “Going to” is for something that people have already decided to do. It is also mostly for more near-term future events. “We’re going to go to the movies Saturday night,” said on Thursday.
“Will” is for promises, like a proposal of marriage, and often is used for events further in the future. You also use it when someone is making the decision right after you ask.