A large medical office building near Princeton has changed hands as part of a seven-state, 1.4 million-square-foot portfolio sale announced Tuesday by JLL.