Researcher (J1) for 6 month in US

I was invited as a researcher to come to US (from Sweden) for 6 months as a employee, no other expanses covered. How can I file my 2022 tax ? I have my form 1042-s.