Microfilaments generally refer to the actin polymers that create filaments within cells. Actin has a wide range of functionalities from cytoskeletal in epithelial, contractile elements in muscles and cytokinesis in mitosis.
Myofilaments specifically refer to the actin (thin filament), myosin (thick filament), troponin, tropmomyosin structure of the sarcomere.