Most of the core MCU actors don't have contracts beyond "Infinity War" so that's not going to be a factor for most of The Avengers.
Fred.
They still won't kill off a character that has potential to make them money in the future. Even if it's with a different actor.