Presumably the treads were produced by extruding a sketch and the stringers are weldments.
You could try this: Start a new sketch on the end of the a weldment, use 'Convert entities' to give you the profile and then do an 'Extruded cut' selecting only the stair tread in 'Feature Scope'.