To supplement Kevin Lin's point about the Berkeley pre-PhD program, Smith College (in the U.S.) runs an analogous post-baccalaureate program that has been successful in placing students in various graduate programs. It seems a good fit for the situation and aspirations of the person described:
"This program is open to all women with a serious interest in pursuing a higher degree in the mathematical sciences."