I don't understand why you're loading en_core_web_lg but calling it a _trf since it would only have tok2vec layer, not a transformers. Maybe that's just a typo.
Are you trying to simply reuse a full pipeline but then create your own ner?
I found this post in spaCy GitHub Discussion forum with a similar error.
It recommends:
nlp = spacy.load("en_core_web_lg", exclude=["ner"]) # could be en_core_web_trf
nlp.add_pipe("ner", source=spacy.load("my_custom_pipeline"))