A Miami federal judge on Friday approved a $300 million settlement between JPMorgan Chase & Co. and 1.3 million homeowners nationwide who claimed they were overcharged for forced-place insurance.

The agreement includes another $650 million of injunctive relief through policy changes to end the practice, plaintiffs attorneys have said.