#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007;
const long long INF = 1000000007;
void AC_aaega() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  string aa = "abacaba";
  for (long long i = 0; i < n - 6; i++) {
    bool done = true;
    for (long long j = i; j < i + 7; j++) {
      if (aa[j - i] != s[j] && s[j] != '?') {
        done = false;
      }
    }
    if (done) {
      string ss = s;
      for (long long j = i; j < i + 7; j++) {
        ss[j] = aa[j - i];
      }
      for (long long j = 0; j < n; j++) {
        if (ss[j] == '?') {
          ss[j] = 'z';
        }
      }
      long long cnt = 0;
      for (long long i = 0; i < n - 6; i++) {
        bool done = true;
        for (long long j = i; j < i + 7; j++) {
          if (ss[j] != aa[j - i]) {
            done = false;
          }
        }
        if (done) {
          cnt++;
        }
      }
      if (cnt > 1) {
        continue;
      }
      cout << "Yes\n";
      cout << ss << '\n';
      return;
    }
  }
  cout << "No\n";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cerr.tie(0);
  long long testcases = 1;
  cin >> testcases;
  while (testcases--) {
    AC_aaega();
  }
  return 0;
}
