Upvote:1
If you are a US citizen, your own ties to the country are irrelevant: you have the absolute right of entry to the US.
We can't predict whether an immigration officer would allow your girlfriend into the US, or whether she would be given a visa in the first place. However, the key criteria for a non-immigrant visitor visa are that the visitor will leave when they say they'll leave, and that they're able to support themself during their visit.
The usual way to demonstrate that somebody is going to leave is that they have strong ties to the country they'll be going back to: for example, a job and a home. So, the obvious question here is whether somebody who has strong ties to their home country is able to take a five-month break on the other side of the world to visit somebody that they want to marry, despite never having met them.