Find a job in the relevant area is crucial for your I-485 petition, either in US or Canada. H1b doesn't matter as long as you stay in the same area.
Going to school may compromise your I-485.
Going to school may compromise your I-485.