You do not have 4 hours but closer to 3 when you take into account the check in / bag drop cut off time for your ORD-AMS airline.
And given these will be separate tickets neither airline has any duty to rebook you of you miss the onward flight.
Just as an FYI you;ll get far better answers if you give details of which airlines are involved.