concrete sidewalk pulling away from concrete stair

My concrete sidewalk is pulling away from the concrete step. It’s getting worse and ~3.5 inches at the worst part. I’ve procrastanated for several years and it’s time to seal it properly. What is the best way to do this repair?
Thanks for your time
Wayne