I swapped those parts many times.

What doesn't fit? Does the bolt pattern on the knuckle match the bolt pattern on the caliper bracket?

Can you post pictures of the parts?