I'd venture to say that it is an open question. One of those
trees needs climate zone 10 or warmer, the other one needs climate zone 8 or cooler. If you have the moringa in a pot (so that you can take it in for the winter), then it is not going to have a problem with the juglone from the black walnut.