The Wedding Singer (1998) is the answer. Robbie Hart (Sandler) is a die-hard Boston Red Sox fan. The film sprinkles his fandom throughout:
It's one of the few Sandler films where sports fandom feels organic to the character, not just a throwaway gag.