No. This will not work.
You need to go ONT to Router to Managed switch. The switch needs to be connected to the LAN side of the router and the ONT to the WAN port.
If you switch supports VLANs, then you could do this with two separate VLANs and two connections to the router (the router doesn’t support tagging).
if the above sounds like Greek to you, then this is a job for a professional if you want to do that.