Is there a train goes from Brooklyn to Newark?

No. Newark is in New Jersey. All of the trains that go from New York to New Jersey terminate in Manhattan. You can use the subway to get from Brooklyn to New York and then take a train to Newark, NJ.