Individual 401k and company 401k

I an independent contractor working for a bank.

Will make 160k to May and plan to contribute 63.5k to my individual 401k plan (57 plus 6.5k for over 50)

If i then get permanent employment  for rest of year and give up my contractor job. It seems I can them contribute 25.5k (19.5 +6) to the new company 401k and get their match.

Will assume I can still deduct my health care costs for the first 5 months as an independent contractor as well.

Thank you for any insights