Scarlett Johansson is suing the Walt Disney Co. over its streaming release of “Black Widow,” which she said breached her contract and deprived her of potential earnings.

In a lawsuit filed...