Depends on the specific bumpers...Some tube bumpers are universal between jeep wranglers. Others are specific the the model.
Easy to check....just takes a tape measure... the bolting points in the front of the frame are a hair wider on a TJ than the bolting points for a YJ..3/8 inch wider on TJ.
Again most tube bumpers are made to acommidate both. But ONLY way to know is to personally check the bumpers you are looking at purchasing.