overseas taxes

Hi! 

 

I am a Malaysian, currently working in the US, but am planning to return home soon, and likely will be working for a telemedicine company providing consultation. 

In a scenario where a Non US citizen is working for a US company, while living abroad, how does taxes work? Should I request for 1099 only?