I would drill out the lead and pull the cleanout fitting. Install pipe there, with a wye for the sewage ejector, and a cleanout on the end of that.
No vent needed for that, but the sewage ejector will need a vent through the roof. You may be able to find a vent 42" above the next floor. That is six inches above the highest countertop on that floor. It's called flood level.
Any waste pipe going from vertical to horizontal needs to be a long turn 90.
Horizontal to vertical can be a medium bend.
On the right side, you have a water fitting, not a waste fitting.
The couplings, need to be solvent weld, or metal wraps to prevent the pipe from shifting. That rubber coupling needs full support, laying on the ground is one use for those. Being used in the air like that, is not one of it's uses. Over time, that joint will sage, and the pipes won't line up.