Man charged with burglary in incident at ex-girlfriend's home