Car dies in gear...

Is this a previously good running engine?...or is this after a rebuild? where something like too big of a cam could be the issue.