Bank of America Corp. agreed to pay $228 million to settle claims the bank overcharged for insurance homeowners were forced to accept when their regular policies lapsed.The amount was disclosed in a document requesting approval for the accord filed yesterday in Miami federal court. Lawyers…