magnetron replacement

The magnetron is coroded and sparking. the parts list show gt1195shb but it is no longer available. searching ******** and the like, it returns pictures of the part that look the same to me. is it safe to replace it if it fits???