Tom var sjuk og ble hjemme fra skolen.

Is sjuk just Nynorsk or its different from syk?

Sjuk is an alternative spelling for syk. They are both acceptable in bokmål. ref.: [Bokmålsordboka | Nynorskordboka]