The windshield angle is sloped back further on a TJ than on a YJ. So the front top edge of the door will not line up with a YJ windshield frame. The door wont work.
And the door is longer toward the bottom. If you had a TJ near to compare you would immediately know why they wouldn't work.
'87 YJ, 4.2L built and bored, 8.5" of lift, 8.8 rear, AX15/NP 231, Tom Woods drive shafts, Flat fenders, 12,000LB winch, Custom bumpers, Rattle can paint job. Never completed...