#include <bits/stdc++.h>
using namespace std;
int t, n;
string s;
string m = "abacaba";
bool check(string s, int idx) {
  for (int i = 0; i < 7; i++) {
    if (s[idx + i] == '?')
      s[idx + i] = m[i];
    else if (s[idx + i] != m[i])
      return false;
  }
  int cnt = 0;
  int n = s.size();
  for (int i = 0; i < n; i++) {
    if (s[i] == '?') s[i] = 'z';
  }
  for (int i = 0; i < n; i++) {
    if (s.substr(i, 7) == m) {
      cnt++;
    }
  }
  if (cnt == 1) {
    cout << "Yes" << endl;
    cout << s << endl;
    return true;
  }
  return false;
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    string s;
    cin >> s;
    for (int i = 0; i < n - 6; i++) {
      if (check(s, i)) {
        goto out;
      }
    }
    cout << "No" << endl;
  out:;
  }
  return 0;
}
