It is very hard to transfer to Yale or other US universities at that level.
I know people who have transferred to very good universities. They just weren’t Yale.
I used to know multiple students who did their bachelor’s degree at universities that were not very far off from U.Conn in ranking, and that did their graduate work at a university that was pretty close to the Yale level.