No. Painting or caulking over existing mold won’t kill it.

Before painting or caulking, remove the mold and dry the area completely. This should be done by a licensed mold removal specialist in order to prevent cross contamination.