You can download special plugin for Revit Architecture called OBJ Exporter for Revit with which users can export their Revit files (such as the family .rfa files) and save them as .obj models, but this might only work for solid models. Once you have OBJ file, it should be simple enough to convert to STEP format with any of the available obj to step converters.
Updated: June 29, 2023