My mother attended a 2-year college and got an associate’s degree. After I got accepted, Stanford sent me a letter from their first gen office about resources, etc. for me. So Stanford seems to define first gen as first to attend a four-year institution.