Is this dash correct?

The first version is correct. You've used a dash to separate the appositive from the main sentence, which is acceptable. Usually, this is considered better than the second version; one independent clause is better than two, stylistically speaking. I myself would probably have used a comma instead of a dash, since I think commas give a much nicer flow.