There is no credible evidence or reports that a Biden-appointed federal judge has ruled that the 4th of July cannot be celebrated this year.
A Biden Appointed Federal Judge rules that the 4th of July can't be celebrated this year.

FactVerify
Source: factverify.com
What the Evidence Shows
The claim states that a Biden-appointed federal judge ruled that the 4th of July cannot be celebrated this year. A thorough review of the search results reveals no information supporting this claim. The search results primarily discuss unrelated topics such as Biden's health, political controversies, and rulings by federal judges on employment discrimination guidance, none of which mention any ruling about the 4th of July celebrations.
The only judicial rulings referenced involve a Trump-appointed judge ruling against Biden-era employment discrimination guidance, which is unrelated to any holiday celebrations. Given the absence of any credible news sources or official statements corroborating the claim, it appears to be false and likely fabricated or a misinformation attempt.